Live threats

All CVEs / Codepress

CVE-2021-25042Codepress Visitor Statistics

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 46
Auth required
Yes
Published
Feb 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Visitor Statistics.

Affected products (CPE)

VendorProductVersions
codepressvisitor_statistics< 5.5

Official sources

References

Links published by the sources. Open them with care.