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
4DescriptionCVE.org
Cross-Site Request Forgery (CSRF) vulnerability in r-win WP-DownloadCounter allows Stored XSS. This issue affects WP-DownloadCounter: from n/a through 1.01.
AnalysisAI
CVE-2025-52790 is a CSRF vulnerability in the r-win WP-DownloadCounter WordPress plugin (versions through 1.01) that enables Stored XSS attacks. An attacker can craft malicious requests that, when clicked by an administrator, inject persistent JavaScript into the plugin's data storage, affecting all site visitors. The CVSS 7.1 score reflects moderate severity with network-based attack delivery and user interaction requirements, though the actual exploitability and active exploitation status require verification against KEV and EPSS data.
Technical ContextAI
WP-DownloadCounter is a WordPress plugin (CPE likely: cpe:2.3:a:r-win:wp-downloadcounter) that manages and tracks file downloads. The vulnerability combines two attack classes: CWE-352 (Cross-Site Request Forgery) and Stored XSS. The root cause is insufficient CSRF token validation and output encoding in plugin functionality. When a CSRF request is processed without proper nonce verification, attacker-supplied input is stored in the plugin's database without sanitization. Subsequent retrieval and rendering of this data to administrators or users results in arbitrary JavaScript execution. The vulnerability affects WordPress plugin architecture where POST/GET parameters controlling download metadata, settings, or logs are not adequately protected by WordPress nonces or verified for origin.
RemediationAI
- action: Update Plugin; details: Upgrade r-win WP-DownloadCounter to version 1.02 or later (assume patched version exists post-1.01; verify via wordpress.org plugin repository or vendor advisory).
- action: CSRF Protection; details: Ensure all plugin forms implement WordPress nonce validation (wp_verify_nonce()) on POST requests. This blocks CSRF exploitation by validating origin-specific tokens.
- action: Output Encoding; details: Sanitize and escape all user-supplied data before storage (sanitize_text_field(), wp_kses_post()) and before display (esc_html(), esc_attr(), wp_kses_post()). This prevents Stored XSS.
- action: Immediate Workaround; details: If patch unavailable, disable r-win WP-DownloadCounter until patched version is released, or restrict admin access via .htaccess/firewall rules to minimize CSRF attack surface.
- action: Verify Patch; details: Check WordPress.org plugin repository (wordpress.org/plugins/wp-downloadcounter) for version history and security notices. Review vendor advisories from r-win.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-28465