Multiple WordPress plugins: Cross-site scripting
Multiple WordPress plugins is affected by cross-site scripting. The vulnerable path is reachable without authentication. Injected script can execute in the affected site's origin when the vulnerable output is viewed. Affected versions vary by component; consult the source record for its product-specific ranges.
- Component
- Multiple WordPress plugins
- Plugin slug
autoptimize- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- May 18, 2026
This CVE was published May 18, 2026 and is one of 11 known issues for this plugin.
Update, patch or deactivate.
Update every affected plugin or theme to a release outside its published affected range, or disable each affected component until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical description
The Autoptimize WordPress plugin before 3.1.15, Clearfy Cache WordPress plugin before 2.4.2, Speed Optimizer WordPress plugin before 7.7.9 are vulnerable to unauthenticated Stored Cross-Site Scripting (XSS) due to a predictable replacement hash used during the HTML minification process and abusing a regular expression. This allows an attacker to inject arbitrary HTML attributes in the final HTML output by anticipating the placeholder format.
CVE / CNA vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H