CVE-2021-25042: WP Visitor Statistics (Real Time Traffic) < 5.5 - Arbitrary IP Address Exclusion to Stored XSS
Vulnerability summary
CVE-2021-25042 is a medium (CVSS 5.4) Missing Authorization vulnerability in codepress visitor_statistics. EPSS estimates a 0.52% chance of exploitation in the next 30 days, higher than 43.6% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 28-02-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
The WP Visitor Statistics (Real Time Traffic) WordPress plugin before 5.5 does not have authorisation and CSRF checks in the updateIpAddress AJAX action, allowing any authenticated user to call it, or make a logged in user do it via a CSRF attack and add an arbitrary IP address to exclude. Furthermore, due to the lack of validation, sanitisation and escaping, users could set a malicious value and perform Cross-Site Scripting attacks against logged in admin
CVSS metrics
3 scores · 2 sources · 2 versions- wordfenceSource5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.52%
Chance of exploitation in the next 30 days
Percentile
44%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.52% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (wpscan.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Codepress1 product
- visitor_statistics< 5.5
Unknown1 product
- wp visitor statistics (real time traffic)≥ 5.5, < 5.5
Wordpress1 product
- wp-stats-manager≤ 5.4 (fixed in 5.5)
3 vendors · 3 products
References
2 links- wpscan.com/vulnerability/05b9e478-2d3b-4460-88c1-7f81d3a68ac4X Refsource MISCExploitThird Party Advisory