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.
Fix
Nothing published yet: no patch, vendor advisory or mitigation reference on NVD, no vendor advisory in the News for this CVE, not in CISA's KEV, no fixed package version. BaselineWatch does not guess at one.
Change history 1
- First seenCVSS 7.2NVD modified 2026-10-14 19:17
Affected (CPE criteria) 0
NVD has not attached CPE configurations yet.
References 4
- https://plugins.trac.wordpress.org/browser/newstatpress/tags/1.4.5/includes/nsp-overview.php#L320
- https://plugins.trac.wordpress.org/browser/newstatpress/tags/1.4.5/newstatpress.php#L1447
- https://plugins.trac.wordpress.org/browser/newstatpress/tags/1.4.5/newstatpress.php#L839
- https://www.wordfence.com/threat-intel/vulnerabilities/id/234d79fc-5f00-457d-a693-ad3f6d38447b?source=cve