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

CVE-2024-12493 Cross-Site Scripting in Files download delay
📅 PUBLISHED: 2025-01-09 11: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: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.36%
👁️
0.36% probability
9.0× 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-12493 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Files Download Delay WordPress plugin, versions up to and including 1.0.9. The flaw resides in the fddwrap shortcode, where user-supplied attributes are not properly sanitized or escaped. This allows authenticated attackers with at least Contributor-level access to inject arbitrary web scripts. When a user (including administrators) visits a page containing the malicious shortcode, the injected script executes in their browser, potentially leading to session hijacking, credential theft, or defacement. The vulnerability is currently unpatched, and no public exploit code is available. The EPSS score is 0.0%, indicating low exploitation likelihood at this time, but the risk remains for WordPress sites using this plugin.

⚡ 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

WordPress Ecosystem Context

This vulnerability is specific to the Files Download Delay plugin for WordPress. It is not related to Apache, Nginx, or any other web server software. The attack vector relies on the WordPress shortcode API and the plugin’s failure to sanitize user input.

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
  • Base Score: 6.4 (Medium)
  • Attack Vector: Network (AV:N) – The vulnerability can be exploited remotely.
  • Attack Complexity: Low (AC:L) – No special conditions are required.
  • Privileges Required: Low (PR:L) – An attacker needs Contributor-level access or higher.
  • User Interaction: None (UI:N) – The victim does not need to perform any action beyond viewing the page.
  • Scope: Changed (S:C) – The injected script can affect resources beyond the vulnerable component.
  • Confidentiality Impact: Low (C:L) – Limited data exposure possible.
  • Integrity Impact: Low (I:L) – Limited modification of content possible.
  • Availability Impact: None (A:N) – No denial of service.

Threat Level: Medium. While the CVSS score is moderate, the ability for authenticated users to inject persistent scripts that execute for all visitors makes this a significant risk for multi-user WordPress sites.

Deep Dive & Mechanics

The vulnerability exists in the fddwrap shortcode provided by the Files Download Delay plugin. Shortcodes in WordPress allow users to embed dynamic content via simple tags like [fddwrap attribute="value"]. The plugin fails to properly sanitize and escape the attribute parameters passed to this shortcode.

Attack Flow:

  1. An authenticated user with Contributor-level access or higher creates or edits a post/page.
  2. The user inserts the [fddwrap] shortcode with a malicious payload in an attribute, e.g., [fddwrap class="<script>alert('XSS')</script>"].
  3. The plugin processes the shortcode and outputs the attribute value without proper escaping.
  4. When any user (including admins) views the page, the injected script executes in their browser.

Root Cause: Insufficient input sanitization and output escaping on user-supplied attributes. The plugin likely uses echo $attribute instead of esc_attr() or wp_kses().

Vulnerable vs. Patched Code

Since no patch is available, the vulnerable code pattern is described below. A patched version would need to properly escape output.

Vulnerable Code (Conceptual):

function fddwrap_shortcode($atts) {
    $class = $atts['class'];
    return '<div class="' . $class . '">Content</div>';
}
add_shortcode('fddwrap', 'fddwrap_shortcode');

Patched Code (Conceptual):

function fddwrap_shortcode($atts) {
    $class = esc_attr($atts['class']);
    return '<div class="' . $class . '">Content</div>';
}
add_shortcode('fddwrap', 'fddwrap_shortcode');

The patched version uses esc_attr() to escape the attribute value, preventing XSS.

Exploitation & Lab Setup

Red Team (Exploitation)

Prerequisites:

  • WordPress site with Files Download Delay plugin version <= 1.0.9.
  • An account with Contributor-level access or higher.

Steps:

  1. Log in to WordPress as a Contributor.
  2. Create a new post or page.
  3. In the editor, switch to Text mode and insert the following shortcode:
    [fddwrap class="&quot;><script>alert(document.cookie)</script>"]
    
  4. Publish the post.
  5. When any user visits the post, the JavaScript executes.

Note: No public exploit code is available. The above is a proof-of-concept.

Blue Team (Detection & Prevention)

Detection:

  • Monitor for posts/pages containing the [fddwrap] shortcode with suspicious attributes.
  • Review user activity logs for Contributor-level users creating content with unusual shortcodes.
  • Use WAF rules to block common XSS payloads in shortcode attributes.

Prevention:

  • Disable or remove the Files Download Delay plugin until a patch is released.
  • Restrict Contributor-level permissions to trusted users only.
  • Implement Content Security Policy (CSP) headers to mitigate XSS impact.

Indicators of Compromise (IOCs)

  • File: /wp-content/plugins/files-download-delay/ (plugin directory)
  • Shortcode Pattern: [fddwrap class="..."] with suspicious JavaScript or HTML in attributes.
  • Log Entry: WordPress post/page creation by Contributor-level users containing the fddwrap shortcode.
  • Network Traffic: Outbound requests from injected scripts (e.g., to attacker-controlled domains).

Detection Engineering

YARA Rule

rule CVE_2024_12493_WordPress_Plugin_XSS {
    meta:
        description = "Detects malicious shortcode attributes in Files Download Delay plugin"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2024-12493"
    strings:
        $shortcode = /\[fddwrap\s+[^\]]*?(class|id|style)\s*=\s*["'][^"']*?(<|>|script|on\w+=)/i
    condition:
        $shortcode
}

Sigma Rule

title: CVE-2024-12493 WordPress Files Download Delay XSS
id: 8a3f7c2e-1b4d-4e5f-9a0b-2c3d4e5f6a7b
status: experimental
description: Detects stored XSS via fddwrap shortcode in WordPress
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: wordpress
detection:
    selection:
        http.url|contains: "fddwrap"
        http.url|re: "class=|id=|style="
        http.url|contains: "<script"
    condition: selection
falsepositives:
    - Legitimate use of shortcode with safe attributes
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-12493 WordPress Files Download Delay XSS"; flow:to_server,established; content:"fddwrap"; http_uri; pcre:"/(class|id|style)\s*=\s*[\"'][^\"']*?(<|>|script|on\w+=)/i"; classtype:web-application-attack; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable the plugin – Deactivate and remove the Files Download Delay plugin from all WordPress installations.
  2. Audit existing content – Search for posts/pages containing the [fddwrap] shortcode and remove or sanitize them.
  3. Review user roles – Restrict Contributor-level access to only trusted users.

Long-term Fix:

  • The vendor must release a patched version that properly escapes shortcode attributes using esc_attr() or wp_kses().
  • Until a patch is available, consider using an alternative plugin for file download delays.

Workaround:

  • Implement a Web Application Firewall (WAF) rule to block requests containing fddwrap with suspicious patterns.
  • Add a Content Security Policy (CSP) header to prevent execution of inline scripts.

Valters IT
Securing Digital Frontiers

👁️ 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/files-download-delay"
http.html:"fddwrap"
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-12493/ · 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.