WordPress security changelog
MEDIUM CVE-2021-25042 Analyzed

WP Visitor Statistics (Real Time Traffic): Cross-site scripting

WP Visitor Statistics (Real Time Traffic) is affected by cross-site scripting. Exposure depends on how the affected operation is made reachable by the site. Injected script can execute in the affected site's origin when the vulnerable output is viewed.

CVE / CNA score 5.4 CVSS · contact@wpscan.com
NVD score 5.4 CVSS 3.1 · nvd@nist.gov
Component
WP Visitor Statistics (Real Time Traffic)
Plugin slug
visitor-statistics
Affected
See vendor advisory
Safe version
See mitigation notes
Published
Feb 28, 2022
Weakness
CWE-862 — Missing Authorization

This CVE was published Feb 28, 2022 and is one of 5 known issues for this plugin.

Update, patch or deactivate.

Update WP Visitor Statistics (Real Time Traffic) to a release outside the affected range, or disable and remove it until a fixed version is available.

No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.

Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.

Technical 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

NVD vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Primary and upstream sources