Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
7DescriptionCVE.org
The wp-file-download WordPress plugin before 6.2.6 does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting
AnalysisAI
CVE-2025-5034 is a Reflected Cross-Site Scripting (XSS) vulnerability in the wp-file-download WordPress plugin versions before 6.2.6, caused by failure to sanitize and escape user-supplied parameters before output. Attackers can craft malicious URLs containing JavaScript payloads that execute in victims' browsers when clicked, potentially stealing session cookies, hijacking accounts, or performing unauthorized actions. The vulnerability requires user interaction (clicking a link) but affects all users without authentication requirements, making it a moderate-to-significant risk for WordPress installations using this plugin.
Technical ContextAI
The wp-file-download plugin is a WordPress content delivery and file management extension that handles file download requests. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), a classic reflected XSS flaw where user-controlled input from URL parameters or form data is directly echoed into HTML responses without proper sanitization (via WordPress functions like sanitize_text_field(), sanitize_url()) or escaping (via esc_html(), esc_url(), esc_attr(), or esc_js()). The affected CPE is likely 'cpe:2.3:a:wp-file-download:wp-file-download:*:*:*:*:*:wordpress:*:*' with versions <6.2.6. The plugin likely processes file download requests through a parameter (possibly 'file', 'download', or 'url') that is rendered in the page without proper output encoding, allowing arbitrary HTML/JavaScript injection.
RemediationAI
Immediate Patch: Update wp-file-download plugin to version 6.2.6 or later immediately; method: WordPress Admin Dashboard > Plugins > Available Updates, or via WP-CLI: 'wp plugin update wp-file-download'; priority: CRITICAL Temporary Mitigation (if immediate patching is delayed): Disable the wp-file-download plugin temporarily in WordPress; method: WordPress Admin Dashboard > Plugins > Deactivate, or WP-CLI: 'wp plugin deactivate wp-file-download'; priority: HIGH Web Application Firewall (WAF): Implement WAF rules to detect and block XSS payloads in URL parameters targeting the plugin's vulnerable endpoints; method: Configure Wordfence, Sucuri, or ModSecurity rules to sanitize plugin requests; priority: MEDIUM Input Validation Hardening (for developers using the plugin): Review any custom code integrating wp-file-download and apply WordPress sanitization/escaping functions; method: Use sanitize_text_field(), esc_url(), esc_html() on all user inputs before rendering; priority: MEDIUM Monitoring: Monitor web server and WordPress logs for exploitation attempts (unusual URL parameters, script tags in queries); method: Review access logs for suspicious file download requests with encoded script payloads; priority: LOW
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-28370