Skip to main content

Autoptimize CVE-2026-3220

| EUVDEUVD-2026-30736 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-18 WPScan GHSA-3jpv-pgxw-p274
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify site running vulnerable minifier plugin
  2. Delivery
    Craft payload matching predictable placeholder hash
  3. Exploit
    Submit input processed by HTML minifier
  4. Execution
    Poisoned attributes stored in cached page
  5. Persist
    Victim/admin loads minified page
  6. Impact
    Script executes, steal session or hijack account

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target site runs a vulnerable version of Autoptimize (<3.1.15), Clearfy Cache (<2.4.2), or Speed Optimizer (<7.7.9) with the HTML minification feature enabled - that feature is the vulnerable code path, so sites with HTML minify disabled are not exposed. The attacker must supply input that reaches the minifier and must format it to match the predictable replacement-hash placeholder pattern (feasible precisely because the hash is predictable and the restoration regex is abusable). No authentication is required (PR:N), but per CVSS UI:R the payload only fires when a victim loads the affected page, so realistic impact depends on a privileged user (e.g., admin) viewing the poisoned output; SSVC Automatable:no reflects that this interaction dependency prevents fully automated mass exploitation.

Impact

Signals are mixed and should be weighed together. The CVSS 3.1 base score is 8.8 (AV:N/AC:L/PR:N/UI:R) with C:H/I:H/A:H, reflecting an unauthenticated, low-complexity network vector that requires victim interaction (loading the poisoned page). Against that, EPSS is very low (0.03%, 8th percentile) and CISA SSVC rates it Exploitation: poc, Automatable: no, Technical Impact: total - meaning a working concept exists but mass, automated exploitation is not expected, though a successful hit is fully impactful. The NVD impact metrics (C:H/I:H/A:H) are notably aggressive for a stored XSS; in practice XSS impact is often Low unless it lands in a privileged/admin session, so treat the 'total' rating as a plausible worst case (e.g., admin session theft leading to site takeover) rather than guaranteed on every install. This is a real, patch-now issue for exposed WordPress sites given unauthenticated access and public POC, but the low EPSS and non-automatable SSVC suggest opportunistic/targeted rather than worm-like exploitation. Note the tension: CVSS UI:R plus SSVC Automatable:no both indicate a victim-interaction dependency that tempers the otherwise 'unauthenticated critical' framing.

Exploit ScenarioDerived

An attacker submits crafted content to a page that the site later serves through the plugin's HTML minifier, formatting the payload to match the predictable placeholder hash so it survives minification and lands inside an HTML attribute. When a visitor - ideally a logged-in administrator - loads the cached/minified page, the injected attributes execute attacker-controlled script in their browser, enabling session/cookie theft or admin actions. Public POC exploit code from WPScan lowers the barrier, though the CVSS UI:R requirement means a victim must view the poisoned page.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

Unauthenticated stored cross-site scripting affects the Autoptimize (before 3.1.15), Clearfy Cache (before 2.4.2), and Speed Optimizer (before 7.7.9) WordPress plugins, which share a common HTML-minification routine. Because the placeholder hash used to protect content during minification is predictable, an unauthenticated attacker who can get their input processed by the minifier can anticipate the placeholder format and inject arbitrary HTML attributes into the final rendered output. Publicly available exploit code exists (WPScan), a vendor patch is available, and EPSS is low (0.03%), but the impact is total per CISA SSVC; there is no public exploit identified as being used in active attacks.

RemediationAI

Apply the vendor patches by upgrading each plugin to its fixed release: Autoptimize to 3.1.15 or later, Clearfy Cache to 2.4.2 or later, and Speed Optimizer to 7.7.9 or later (Patch available per vendor advisory; consult the WPScan advisory at https://wpscan.com/vulnerability/3ceabf11-23cd-4c38-ba14-014348b0ff2d/ and NVD at https://nvd.nist.gov/vuln/detail/CVE-2026-3220). If you cannot patch immediately, the most direct compensating control is to disable the HTML minification feature within the affected plugin's settings, which removes the vulnerable placeholder-substitution path at the cost of losing HTML minification performance benefits (CSS/JS optimization can remain enabled). As additional hardening, place the site behind a WAF with XSS/HTML-injection rules and enable a restrictive Content-Security-Policy to limit script execution from injected markup - noting that a strict CSP may break inline scripts and require tuning, and that WAF rules can be bypassed and should not be treated as a substitute for the patch.

Affected VersionsENISA

Autoptimize 0 <3.1.15
Clearfy Cache 0 <2.4.2
Speed Optimizer 0 <7.7.9

Affected Packages

euvd autoptimize fix: 3.1.15
euvd clearfy_cache fix: 2.4.2
euvd speed_optimizer fix: 7.7.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 3 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the shared HTML minification engine used by these three WordPress optimization plugins. During minification, certain content is temporarily swapped out for placeholder tokens and restored afterward; here those tokens are derived from a predictable replacement hash rather than an unguessable secret. Combined with a permissive/abusable regular expression used to match and restore placeholders, an attacker who understands the deterministic placeholder format can craft input that, once reassembled into the minified page, escapes into live HTML attribute context. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) failure, but the root cause is specifically the predictability of the tokenization scheme rather than a missing output-encoding call. The CPE data (cpe:2.3:a:unknown:autoptimize, :clearfy_cache, :speed_optimizer) confirms the three affected code bases, and the shared behavior strongly implies common upstream minification logic.

Know when Autoptimize gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 6.1 MEDIUM

Unauthenticated network injection via a predictable hash (PR:N, AC:L) that only fires when a victim views the page (UI:R); XSS crosses into the browser authority (S:C) with typical low confidentiality/integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch available
May 18, 2026 - 09:01 EUVD
CVE Published
May 18, 2026 - 06:00 nvd
UNKNOWN (no severity yet)
CVE Published
May 18, 2026 - 06:00 cve.org
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

WordPress sites running Autoptimize, Clearfy Cache, or Speed Optimizer are vulnerable to unauthenticated injection attacks that could compromise all site visitors and damage organizational reputation. Publicly available exploit code exists; vendor patches are now available and should be deployed immediately across all affected WordPress installations.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
High
Autoptimize is a very widely deployed WordPress optimization plugin
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2021-24376 CRITICAL POC
9.8 Jun 21

The Autoptimize WordPress plugin before 2.7.8 attempts to delete malicious files (such as .php) form the uploaded archiv

CVE-2021-24377 HIGH POC
8.1 Jun 21

The Autoptimize WordPress plugin before 2.7.8 attempts to remove potential malicious files from the extracted archive up

CVE-2020-24948 HIGH POC
7.2 Sep 03

The ao_ccss_import AJAX call in Autoptimize Wordpress Plugin 2.7.6 does not ensure that the file provided is a legitimat

CVE-2023-2113 MEDIUM POC
4.8 May 30

The Autoptimize WordPress plugin before 3.1.7 does not sanitise and escape the settings imported from a previous export,

CVE-2022-2635 MEDIUM POC
4.8 Sep 16

The Autoptimize WordPress plugin before 3.1.1 does not sanitise and escape some of its settings, which could allow high

CVE-2021-24378 MEDIUM POC
4.8 Jun 21

The Autoptimize WordPress plugin before 2.7.8 does not check for malicious files such as .html in the archive uploaded v

CVE-2021-24332 MEDIUM POC
4.8 May 24

The Autoptimize WordPress plugin before 2.8.4 was missing proper escaping and sanitisation in some of its settings, allo

CVE-2026-14995 HIGH
7.2 Oct 01

Stored cross-site scripting in the Autoptimize WordPress plugin (all versions up to and including 3.1.15.1) lets an unau

CVE-2026-2352 MEDIUM
6.4 Mar 20

A Stored Cross-Site Scripting (XSS) vulnerability exists in the Autoptimize WordPress plugin through version 3.1.14, cau

CVE-2026-2430 MEDIUM
6.4 Mar 20

The Autoptimize WordPress plugin contains a Stored Cross-Site Scripting (XSS) vulnerability in the lazy-loading image pr

CVE-2026-78471 MEDIUM
5.4 Oct 02

Stored cross-site scripting in the Autoptimize WordPress plugin (all versions up to and including 3.1.15.1) allows unaut

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy