Vulnerabilities / WP-Optimize / WPSEC-2026-4612

WP-Optimize <= 4.7.1 - Unauthenticated Sensitive Information Exposure via Cached Password-Protected Posts

Low 3.7 CWE-524Fixed in 4.7.2
ID
WPSEC-2026-4612
Plugin
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance (wp-optimize)
Affected
all versions before 4.7.2
Remediation
Update to 4.7.2 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-524
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-12-04
Attack surface
WP-Optimize on WPSec AttackSurface
Fix released
Published

Description

The WP-Optimize plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.7.1 due to the page cache not being bypassed for requests carrying a wp-postpass cookie. The cache skips a password-protected post's own page, but when page caching is enabled and a visitor who knows the post password loads a page that lists the post, such as the home page, an archive or a feed, while it is not yet cached, the response containing the unlocked content or excerpt can be written to the shared page cache. This makes it possible for unauthenticated attackers to view password-protected post content without entering the post password.

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