# Security Optimizer – The All-In-One Protection Plugin <= 1.7.0 - Unauthenticated User Enumeration Protection Bypass via Mixed-Case REST API Route

- **ID:** WPSEC-2026-3960
- **Plugin:** Security Optimizer – The All-In-One Protection Plugin (`sg-security`), https://wordpress.org/plugins/sg-security/
- **Affected versions:** from 1.7.0 before 1.7.1
- **Fixed in:** 1.7.1 (Update to 1.7.1 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/sg-security
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3960/

## Description

The Security Optimizer plugin for WordPress is vulnerable to Sensitive Information Exposure via the REST API users endpoint in all versions up to, and including, 1.7.0 due to the user enumeration protection matching the route with a case-sensitive regular expression while WordPress resolves REST routes case-insensitively. This makes it possible for unauthenticated attackers to bypass the User Enumeration Protection feature, when enabled, by requesting a mixed-case route such as /wp-json/wp/v2/Users and retrieve user information such as usernames.

## References

- https://wpsec.com/vuln/WPSEC-2026-3960/
- https://plugins.svn.wordpress.org/sg-security/tags/1.7.1/
- https://wordpress.org/plugins/sg-security/

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

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.
