# Slimstat Analytics <= 5.5.0 - Authenticated (Subscriber+) SQL Injection via 'Posts and Pages' Report Column

- **ID:** WPSEC-2026-1706
- **Plugin:** SlimStat Analytics (`wp-slimstat`), https://wordpress.org/plugins/wp-slimstat/
- **Affected versions:** all versions before 6.0.0
- **Fixed in:** 6.0.0 (Update to 6.0.0 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N)
- **Weakness:** CWE-89
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-10-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wp-slimstat
- **Fix released:** 2026-10-26
- **Published:** 2026-10-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1706/

## Description

The SlimStat Analytics plugin for WordPress is vulnerable to SQL Injection via the 'Posts and Pages' report column in all versions up to, and including, 5.5.0 due to insufficient escaping and preparation of user-supplied input used in an SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries to existing queries and extract sensitive information from the database. Exploitation requires the 'Posts and Pages' report column to be enabled, which is off by default.

## References

- https://wpsec.com/vuln/WPSEC-2026-1706/
- https://plugins.svn.wordpress.org/wp-slimstat/tags/6.0.0/
- https://wordpress.org/plugins/wp-slimstat/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1706/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
