Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
7.2
CVE-2026-7634: WordPress SlimStat Analytics can run malicious scripts
CVE-2026-7634 · published 5 months ago
Summary
The SlimStat Analytics plugin for WordPress allows anyone to place harmful code in the site by sending a crafted User-Agent header. The code is stored and runs when a visitor views a page, but only if the admin has turned on the show_complete_user_agent_tooltip option. Update the plugin to the latest version or keep that setting turned off to prevent the issue.
Original advisory text
SlimStat Analytics <= 5.4.11 - Unauthenticated Stored Cross-Site Scripting via User-Agent Header
The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'User-Agent' header in all versions up to, and including, 5.4.11 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 show_complete_user_agent_tooltip setting must be explicitly enabled by an administrator (disabled by default) for the stored payload to be rendered and executed.
References
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.11/admin/view/wp... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.11/src/Services/... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.11/src/Tracker/P... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.11/src/Tracker/S... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.4/admin/view/wp-... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.4/src/Services/B... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.4/src/Tracker/Pr... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.4.4/src/Tracker/St... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/trunk/admin/view/wp-slims... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/trunk/src/Services/Browsc... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/trunk/src/Tracker/Process... URL
- https://plugins.trac.wordpress.org/browser/wp-slimstat/trunk/src/Tracker/Storage... URL
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0a309bf8-7fe3-4033-993... URL
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7634.j... Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-7634 Vendor Advisory
- https://github.com/wp-slimstat/wp-slimstat/pull/297 Patch
Internet-facing
14 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically
- Gives an attacker partial control
Type
CWE-79Cross-site Scripting (XSS)
Timeline
Published28 May 2026
Updated4 Nov 2026
First seen28 May 2026
Track software like this
Free during beta