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

Medium 5.3 CWE-200Fixed in 1.7.1
ID
WPSEC-2026-3960
Plugin
Security Optimizer – The All-In-One Protection Plugin (sg-security)
Affected
from 1.7.0 before 1.7.1
Remediation
Update to 1.7.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-200
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-26
Attack surface
Security Optimizer – The All-In-One Protection Plugin on WPSec AttackSurface
Fix released
Published

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

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0