Description
The SlimStat Analytics plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'filter_array' parameter in all versions up to, and including, 6.1.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires a non-default administrator configuration in which the can_view whitelist contains at least one username of which the attacker's login is a substring (e.g., can_view set to 'trustedreporter' while the attacker's login is 'report'), and the stored payload only fires when an administrator subsequently opens the Saved Filters dialog.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
- www.wordfence.com/threat-intel/vulnerabilities/id/d1717e66-c741-499b-8f49-699ccd4cd42a?sou
- plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/index.php#L2509
- plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/index.php#L2466
- plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/index.php#L2448
- plugins.trac.wordpress.org/browser/wp-slimstat/tags/5.5.0/admin/assets/js/admin.js#L1360
- plugins.trac.wordpress.org/changeset?reponame=&old=3805776%40wp-slimstat&new=3805776%40wp-
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.