Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running vulnerable Optimole
-
DeliverySubmit unescaped value into image attribute
-
ExploitMalicious attribute stored/served site-wide
-
ExecutionAdmin or visitor loads poisoned page
-
PersistInjected script executes in browser
-
ImpactSession hijack or admin action
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 | Exploitable against sites running Optimole 4.2.3 through 4.2.11 (before 4.2.12), where the plugin builds an image tag attribute from a user-supplied value without proper escaping. No authentication is required (PR:N), and injection is reachable by unauthenticated users; the stored payload is then served to every visitor. The only real limiting factor is user interaction (UI:R): a victim - potentially any visitor or an administrator - must load the page containing the poisoned image tag for the injected script to execute. No non-default configuration is indicated; the affected image-tag-building code path is core plugin functionality. |
| Impact | This is a genuine and relatively high-priority issue for sites running the affected plugin. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R) describes network-reachable, low-complexity, unauthenticated injection requiring only that a visitor render the poisoned page - a realistic condition since the malicious attribute is served to EVERY visitor, including logged-in administrators. The vendor's C:H/I:H/A:H impact rating (yielding 8.8) is aggressive for reflected/stored XSS and appears to assume full session/admin compromise; a more conventional stored-XSS scoring would use S:C with lower impacts (~6.1), so treat the 8.8 as a plausible worst-case rather than a confirmed total-compromise figure. Corroborating signals are mixed but coherent: publicly available exploit code exists (WPScan), a vendor patch is available (4.2.12), and EPSS is low at 0.22% (13th percentile), indicating no evidence of mass automated exploitation yet. There is no CISA KEV listing. Net: the unauthenticated + affects-every-visitor combination makes this worth prioritizing patching on affected sites, but the low EPSS and absence of KEV suggest opportunistic rather than widespread active exploitation at this time. |
| Exploit ScenarioDerived | An unauthenticated attacker supplies a crafted value that Optimole reflects into an image tag attribute without escaping, planting a persistent malicious attribute (e.g., an event handler) into pages served to all visitors. When any visitor - including a logged-in administrator - loads the affected page, the injected script executes in their browser context, enabling session/cookie theft or admin actions. Public exploit code is available via WPScan, lowering the barrier to weaponization. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 17, 2026
Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attackers to inject arbitrary attributes into an image tag built from an unescaped user-supplied value, with the poisoned markup then served to every visitor of the affected site. Exploitation is unauthenticated (PR:N) but requires a victim to load the page containing the injected attribute (UI:R); because the malicious content is persisted server-side, any visitor or administrator viewing that page can trigger execution. A patch is available in Optimole 4.2.12 and publicly available exploit code exists, though EPSS is low at 0.22% (13th percentile), indicating limited observed exploitation pressure at the time of analysis.
RemediationAI
Upgrade the Optimole WordPress plugin to version 4.2.12 or later, which is the vendor-released patch that resolves the missing escaping in the image tag construction path; verify the installed version in the WordPress plugins screen and confirm the update completed, since WordPress auto-updates may be disabled on managed or hardened installs. Consult the WPScan advisory at https://wpscan.com/vulnerability/c8489eb1-e767-4b19-a7c0-124eab843d9e/ for the maintainer's confirmation and any version-specific notes. Where an immediate upgrade is not possible, the most reliable compensating control is to deactivate the Optimole plugin until it can be patched - the trade-off is loss of image optimization/CDN delivery, which may affect page performance and any external Optimole account-based serving. If the plugin must remain active, deploy a WAF or reverse-proxy rule that filters outgoing markup containing unexpected event-handler attributes (onerror, onload, onmouseover and similar) within image tags, and add a Content-Security-Policy header that restricts script-src to trusted origins (avoid 'unsafe-inline' and broad wildcards) - note that CSP is only a mitigation and can be bypassed if any allowed origin or inline sink is itself injectable, and that aggressive WAF regex on image markup can cause false positives that break legitimate image delivery. Because the payload is stored and served to all visitors, also scan the site's stored content and any caches/CDN edge caches for previously injected attributes after patching, as removing the vulnerability does not automatically purge already-persisted payloads. If neither patching nor deactivation is feasible, restricting who can view affected pages is not a practical control for a public site; treat full deactivation as the fallback.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting), specifically an output-escaping failure in the code path where Optimole constructs an HTML image tag. A user-supplied value is concatenated into an attribute of that tag without proper escaping or attribute-name/value sanitization, which permits attribute injection - an attacker can terminate or append to the existing attribute context and introduce event-handler attributes (for example onerror/onload style payloads) that browsers will execute. Because the value is persisted and the resulting image tag is emitted on pages served to all visitors, this is a stored (persistent) XSS rather than a reflected one. WordPress plugin supply-chain intelligence (CPE cpe:2.3:a:unknown:optimole:*:*:*:*:*:*:*:*, with the vendor field not normalized in the CPE feed) covers Optimole releases from 4.2.3 up to but excluding 4.2.12 per the EUVD record (EUVD-2026-80191). The independent assessment scores this CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, i.e. network-reachable, no privileges required, user interaction required, scope changed, with low confidentiality and integrity impact and no availability impact - the scope change reflects that script executes in the context of the victim's browser session on the affected site rather than the vulnerable plugin's own security boundary, and the low C/I ratings indicate session/credential and content-manipulation impact rather than full site compromise. Note that an externally reported base score of 8.8 accompanies this CVE, which is higher than the assessed vector; the assessed vector should be treated as authoritative for risk triage.
Know when Optimole 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
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Unauthenticated network injection (PR:N) needing a visitor to render the page (UI:R); stored XSS crosses into the browser security context (S:C) with limited confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.org
The Optimole WordPress plugin before 4.2.12 does not properly escape a user supplied value before using it to build an image tag attribute, allowing unauthenticated users to inject arbitrary attributes into pages served to every visitor, which leads to Stored Cross-Site Scripting.
Technical POC Analysis
CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
The Optimole WordPress plugin, versions 4.2.3 through 4.2.11, contains a stored cross-site scripting flaw that can be triggered by unauthenticated attackers and then executed for site visitors and administrators. This creates organizational risk of credential theft, session hijacking, defacement, and reputational damage for any WordPress site running an affected version, although current exploitation pressure appears limited. Leadership should prioritize upgrading to the vendor-released 4.2.12 patch because it directly removes the vulnerability with minimal operational disruption.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use
Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service
Stored cross-site scripting in the Optimole image-optimization plugin for WordPress (all versions up to and including 4.
Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows
Stored cross-site scripting in the Optimole WordPress plugin through 4.2.18 lets unauthenticated attackers submit a craf
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers de
Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated
Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l
Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info
EUVD-2026-80191
GHSA-mwqj-x4rq-9232
NVD
CVE.org
EPSS
Exploit-DB