Veronalabs WP Statistics – Simple, privacy-friendly Google Analytics alternative
WP Statistics <= 14.5.4 - Unauthenticated Stored Cross-Site Scripting via User-Agent Header
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 14.15.4
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 47 days after publication; not in CISA KEV. First PoC: monzaviman/CVE-2025-9816 (created 13 Nov 2025, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| monzaviman/CVE-2025-9816 | 13 Nov 2025 +47 d | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /wp-content/plugins/wp-statistics/readme.txt
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7Accept-Language: en-US,en;q=0.9Priority: u=0, iSec-Ch-Ua: "Not;A=Brand";v="24", "Chromium";v="128"Sec-Ch-Ua-Mobile: ?0Sec-Ch-Ua-Platform: "Windows"Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: noneSec-Fetch-User: ?1Upgrade-Insecure-Requests: 1- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.120 Safari/537.36- Seen in
- 1 repo: monzaviman/CVE-2025-9816
- Evidence
- monzaviman/CVE-2025-9816/main.py:68
POST /wp-json/wp-statistics/v2/hit
- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7Accept-Language: en-US,en;q=0.9Priority: u=0, iSec-Ch-Ua: "Not;A=Brand";v="24", "Chromium";v="128"Sec-Ch-Ua-Mobile: ?0Sec-Ch-Ua-Platform: "Windows"Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: noneSec-Fetch-User: ?1Upgrade-Insecure-Requests: 1- Body markers
wp_statistics_hit=1source_type=homesource_id=1546search_query=signature=3edafe75d3c61b1db8113226df25dc5eendpoint=hitreferred=page_uri=Lw==inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.120 Safari/537.36- Seen in
- 1 repo: monzaviman/CVE-2025-9816
- Evidence
- monzaviman/CVE-2025-9816/main.py:134
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-content/plugins/wp-statistics/readme\.txt(?:[?#].*)?$
(?i)^/wp-json/wp-statistics/v2/hit(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-9816 veronalabs WP Statistics – Simple, privacy-friendly Google Analytics alternative exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/wp-content/plugins/wp-statistics/readme.txt"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.7"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header; content:"Priority: u=0, i"; nocase; http.header; content:"Sec-Ch-Ua: |22|Not|3b|A=Brand|22||3b|v=|22|24|22|, |22|Chromium|22||3b|v=|22|128|22|"; nocase; http.header; content:"Sec-Ch-Ua-Mobile: ?0"; nocase; http.header; content:"Sec-Ch-Ua-Platform: |22|Windows|22|"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: none"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-9816; classtype:web-application-attack; sid:9616058; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-9816 veronalabs WP Statistics – Simple, privacy-friendly Google Analytics alternative exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-json/wp-statistics/v2/hit"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.7"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header; content:"Priority: u=0, i"; nocase; http.header; content:"Sec-Ch-Ua: |22|Not|3b|A=Brand|22||3b|v=|22|24|22|, |22|Chromium|22||3b|v=|22|128|22|"; nocase; http.header; content:"Sec-Ch-Ua-Mobile: ?0"; nocase; http.header; content:"Sec-Ch-Ua-Platform: |22|Windows|22|"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: none"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"wp_statistics_hit=1"; http.request_body; content:"source_type=home"; http.request_body; content:"source_id=1546"; http.request_body; content:"search_query="; http.request_body; content:"signature=3edafe75d3c61b1db8113226df25dc5e"; http.request_body; content:"endpoint=hit"; http.request_body; content:"referred="; http.request_body; content:"page_uri=Lw=="; reference:url,poc.griffinguard.io/cve/CVE-2025-9816; classtype:web-application-attack; sid:9596552; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: veronalabs WP Statistics – Simple, privacy-friendly Google Analytics alternative exploit attempt (CVE-2025-9816)
id: gg-pocmon-cve-2025-9816-9616058
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-9816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-9816
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/wp-content/plugins/wp-statistics/readme.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.9816
title: veronalabs WP Statistics – Simple, privacy-friendly Google Analytics alternative exploit attempt (CVE-2025-9816)
id: gg-pocmon-cve-2025-9816-9596552
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-9816. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-9816
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-json/wp-statistics/v2/hit'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.9816