CVE-2021-25042
JSON

5.4medium

WP Visitor Statistics (Real Time Traffic) < 5.5 - Arbitrary IP Address Exclusion to Stored XSS

Severity
5.4medium CVSS:3.1 by NVD
Exploit likelihood
0.52% (higher than 45% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

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

Affected

Product or packageVersionsReported by
Unknown WP Visitor Statistics (Real Time Traffic)from 5.5 before 5.5CVE List
codepress visitor_statisticsbefore 5.5NVD

All scores

NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD3.5low CVSS:2.0AV:N/AC:M/Au:S/C:N/I:P/A:N

Classification

What each source says

CVE List

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 (es)

El plugin WP Visitor Statistics (Real Time Traffic) de WordPress versiones anteriores a 5.5, no presenta comprobaciones de autorización y CSRF en la acción AJAX updateIpAddress, permitiendo a cualquier usuario autenticado llamarla, o hacer que un usuario conectado lo haga por medio de un ataque de tipo CSRF y añada una dirección IP arbitraria para excluirla. Además, debido a una falta de comprobación, saneo y escape, los usuarios podrían establecer un valor malicioso y llevar a cabo ataques de tipo Cross-Site Scripting contra el administrador conectado.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-25042 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-25042 changed 2026-06-17Public domain