---
id: CVE-2025-9816
title: >-
  The WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin plugin
  for WordPress is vulnerable to Stored Cross-Site Scripting via the User-Agent
  Header in all versions up to, and including, 14.5.4 due to insufficient input
  san…
summary: >-
  The WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin plugin
  for WordPress is vulnerable to Stored Cross-Site Scripting via the User-Agent
  Header in all versions up to, and including, 14.5.4 due to insufficient input
  san…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-09-27'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-9816'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wp-statistics/tags/14.15.3/includes/admin/templates/pages/devices/models.php#L31
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/d8351204-da6d-443a-98b5-0608bfb1e9d0?source=cve
    label: security@wordfence.com
tags:
  - nvd
  - exploit-available
epss: 0.09682
epssPercentile: 0.95391
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/monzaviman/CVE-2025-9816'
  checkedAt: '2026-10-09T12:54:06.032Z'
exploitAvailable: true
ingestedAt: '2026-10-09T12:53:28.201Z'
---

## Overview

The WP Statistics – The Most Popular Privacy-Friendly Analytics Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the User-Agent Header in all versions up to, and including, 14.5.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
