Description
The NewStatPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.4.5 via the 'Last referrers' meta box on the plugin's Overview admin page. This is due to insufficient output escaping of the visitor-supplied query string that the plugin records in its statistics table: the newstatpress_generate_overview_lastreferrers() function concatenates the stored urlrequested value into a single-quoted href attribute after only FILTER_SANITIZE_URL, which does not encode the apostrophe. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a high-privileged user, such as an administrator, accesses the Overview page and hovers the injected link.
Published: 2026-10-14
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored cross‑site scripting that allows arbitrary JavaScript execution in an administrator's browser
Action: Immediate Patch
AI Analysis

Impact

The NewStatPress plugin for WordPress up to version 1.4.5 stores visitor URLs without proper escaping, concatenating them into an href attribute after only URL sanitization. This leads to a stored cross‑site scripting flaw that can inject any JavaScript. An attacker can trigger the injection by sending a crafted URL to the website, and when an administrator opens the Overview page the malicious script runs in that privileged session. The weakness is a classic input‑output validation error, CWE‑79.

Affected Systems

Affected systems include installations of the NewStatPress plugin version 1.4.5 or older on WordPress sites. The plugin records its statistics in a database table and displays them on the Overview admin page, so any site running the vulnerable version is at risk. The CNA vendor product is NewStatPress by ice00.

Risk and Exploitability

The vulnerability has a CVSS score of 7.2, indicating a medium to high impact when exploited. The EPSS score is below 1%, suggesting a low probability of real‑world exploitation at the time of this assessment, and the issue is not listed in CISA's KEV catalog. Nevertheless, because the flaw grants attackers the ability to run code in an admin's browser, the potential for credential theft or further lateral movement remains significant. Attackers likely exploit the vulnerability by forcing a victim to visit a maliciously constructed URL; no authentication is required to record the payload.

Generated by OpenCVE AI on October 16, 2026 at 01:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the NewStatPress plugin to the latest version that removes the XSS flaw
  • If an upgrade cannot be performed immediately, disable the statistics feature or delete the statistics table to eliminate stored malicious URLs
  • As a temporary measure, implement a web application firewall rule that blocks suspicious query strings containing quotes or script tags before they are stored by the plugin

Generated by OpenCVE AI on October 16, 2026 at 01:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 14 Oct 2026 04:45:00 +0000

Type Values Removed Values Added
Description The NewStatPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.4.5 via the 'Last referrers' meta box on the plugin's Overview admin page. This is due to insufficient output escaping of the visitor-supplied query string that the plugin records in its statistics table: the newstatpress_generate_overview_lastreferrers() function concatenates the stored urlrequested value into a single-quoted href attribute after only FILTER_SANITIZE_URL, which does not encode the apostrophe. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a high-privileged user, such as an administrator, accesses the Overview page and hovers the injected link.
Title NewStatPress <= 1.4.5 - Unauthenticated Stored Cross-Site Scripting via 'urlrequested' Attribute via Query String
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-10-14T18:20:55.882Z

Reserved: 2026-09-28T16:03:17.846Z

Link: CVE-2026-101924

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-14T05:16:41.567

Modified: 2026-10-14T19:17:00.763

Link: CVE-2026-101924

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-16T01:15:15Z

Weaknesses
  • CWE-79

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