CVE-2026-3220
## Summary CVE-2026-3220 is a **HIGH severity (CVSS 8.8)** unauthenticated Stored Cross-Site Scripting (XSS) vulnerability affecting three WordPress optimization plugins: Autoptimize (before 3.1.15), Clearfy Cache (before 2.4.2), and Speed Optimizer (before 7.7.9). The flaw stems from a **predictable replacement hash** used during HTML minification, combined with a regular expression weakness, allowing attackers to inject arbitrary HTML attributes into final page output. ## Technical Analysis The vulnerability exists in the HTML minification routines shared across these plugins. During minification, the plugins use placeholder tokens to temporarily replace HTML elements (such as scripts or styles) before processing. The critical weakness is that these placeholder hashes are **predictable** rather than cryptographically random. An attacker who can anticipate the placeholder format can craft malicious input that survives the minification process and re-emerges as executable HTML attributes in the rendered output. The attack vector is **network-based, requires no authentication, and low attack complexity**. User interaction is required (typically a victim viewing a compromised page), but successful exploitation grants high impact across confidentiality, integrity, and availability. ## Affected Products | Plugin | Affected Versions | Fixed Version | |--------|-------------------|---------------| | Autoptimize | < 3.1.15 | 3.1.15 | | Clearfy Cache | < 2.4.2 | 2.4.2 | | Speed Optimizer | < 7.7.9 | 7.7.9 | ## Timeline - **2026-05-18 07:16 UTC**: CVE published and vulnerability disclosed - **2026-05-18 17:05 UTC**: CVE record modified (NVD) ## Recommended Actions 1. **Immediate**: Update all affected plugins to their patched versions (Autoptimize 3.1.15+, Clearfy Cache 2.4.2+, Speed Optimizer 7.7.9+) 2. **Verification**: Review site content for unexpected HTML attributes or injected scripts, particularly in cached/minified pages 3. **Defense in depth**: Implement Content Security Policy (CSP) headers to mitigate impact of any residual XSS vectors 4. **Monitoring**: Enable WordPress security logging and monitor for unusual HTML attribute patterns in post/评论