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.
Published: 2026-09-30
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting allowing execution of attacker supplied scripts in the browsers of visitors to a site that uses the affected WordPress plugin
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Wed, 30 Sep 2026 08:30:00 +0000

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.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-09-30T15:28:10.101Z

Reserved: 2026-09-24T12:26:25.380Z

Link: CVE-2026-97347

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-30T09:17:16.773

Modified: 2026-09-30T16:19:26.470

Link: CVE-2026-97347

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T12:15:17Z

Weaknesses
  • CWE-79

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