Vulnerabilities / WP-Optimize / WPSEC-2026-4613

WP-Optimize <= 4.7.1 - Unauthenticated Stored Cross-Site Scripting via 404 Detector Request URL

Medium 4.7 CWE-79Fixed in 4.7.2
ID
WPSEC-2026-4613
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:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
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 Stored Cross-Site Scripting via the requested URL and referrer logged by the 404 Detector in all versions up to, and including, 4.7.1 due to insufficient input sanitization and output escaping of entity-encoded angle brackets, which are decoded and rendered through Thickbox in the admin 404 Detector report. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute in an administrator's session when the administrator clicks 'View all' on the 404 Detector report. Exploitation requires the opt-in 404 Detector feature to be enabled.

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