CVE-2026-97347

Post Views Stats Counter <= 1.1.7 - Unauthenticated Stored Cross-Site Scripting via User-Agent Header

Published Sep 30, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
The Post Views Stats Counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via User-Agent Header in all versions up to, and including, 1.1.7 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. The plugin's only input filter is a substring blacklist for known bot signatures (e.g. 'bot', 'spider', 'crawler'), which can be trivially bypassed by crafting a User-Agent payload that omits those strings.

Analysis

AI-generated

Technical impact

The vulnerability lies in the way the Post Views Stats Counter plugin records the HTTP User‑Agent header. It does not properly sanitize or escape the value before storing it in the database. Because the value is later printed on a page that is visited by any user, an attacker can embed arbitrary JavaScript. When a victim loads that page, the injected script runs in the victim’s browser with the privileges of the site, enabling cookie theft, session hijacking, defacement or other malicious actions. The weakness is a classic input validation flaw (CWE‑79).

Affected Systems

The only affected software is the Post Views Stats Counter WordPress plugin for the vendor kazukiyanamoto. All releases up to and including version 1.1.7 are vulnerable. No other vendors or products are listed.

Risk and Exploitability

The CVSS score is 7.2, indicating a high severity. The EPSS score is not available, but the vulnerability can be triggered by any unauthenticated user simply by sending a crafted User‑Agent header. The VSA is not in the CISA KEV catalog, yet the attack path is trivial and no authentication is required, so the risk to sites that deploy the plugin is moderate to high. Exfiltration or defacement costs are likely, especially if site visitors include privileged users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Post Views Stats Counter plugin to any released version newer than 1.1.7 or apply an official patch when it becomes available.
  • Implement or enable server‑side filtering for the User‑Agent header, e.g., by restricting allowed characters or removing script tags, to prevent malicious payloads from reaching the WordPress application.
  • If an update or filtering is not possible, disable or remove the Post Views Stats Counter plugin entirely and consider alternative solutions that correctly validate and escape user input.

Generated by OpenCVE AI on September 30, 2026 at 12:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The Post Views Stats Counter plugin for WordPress is vulnerable to Stored Cross-Site Scripting via User-Agent Header in all versions up to, and including, 1.1.7 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. The plugin's only input filter is a substring blacklist for known bot signatures (e.g. 'bot', 'spider', 'crawler'), which can be trivially bypassed by crafting a User-Agent payload that omits those strings.
Title Post Views Stats Counter <= 1.1.7 - Unauthenticated Stored Cross-Site Scripting via User-Agent Header
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Sep 30, 2026, 3:28 PM
Reserved
Sep 24, 2026, 12:26 PM
Status
Deferred
Published
Sep 30, 2026, 9:17 AM
Modified
Sep 30, 2026, 4:19 PM