Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted comment to public post
-
DeliveryPayload stored, bypassing WordPress sanitization
-
ExploitOptimole decoder emits HTML at render time
-
ExecutionScript executes in each visitor's browser
-
ImpactHijack sessions or redirect site users
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 the Optimole plugin to be in its normal connected state - cdn_key and cdn_secret configured - with the image replacer feature enabled, which the description states is the default post-setup configuration; the attack vehicle is an unauthenticated comment submission to a public post. The payload must contain no HTML metacharacters at storage time, since execution depends on Optimole's own render-time decoder producing those characters. Limiting factors: a site that has Optimole installed but not connected, or with the image replacer disabled, is not exploitable; and because this is stored XSS, a user (visitor or administrator) must subsequently load the injected page for the script to execute. |
| Impact | This is a genuine but mid-tier priority. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2) describes a network-reachable, low-complexity, unauthenticated stored XSS whose scope-change (S:C) reflects that injected script executes in the browser of any visitor rather than only within the app - this is why the score reaches HIGH despite only Low confidentiality and integrity impact. The vuln.today Decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-not-crisis stored XSS. Key signals are MISSING rather than conflicting: no EPSS score was supplied, so exploitation probability cannot be quantified; there is no CISA KEV listing, so exploitation status is 'no public exploit identified at time of analysis'; and no SSVC automatable/technical-impact decision tree was provided. The finding is from Wordfence (a credible WordPress-focused source) and the vulnerable code is pinpointed via WordPress plugin trac source references, so the technical basis is well-documented even though real-world exploitation evidence is absent. Net: treat as a real patch-this-week item driven by unauthenticated reach and the self-executing stored nature, not by any confirmed active exploitation. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a comment containing a specially crafted string that has no HTML metacharacters at storage time, so it passes all WordPress comment sanitization; Optimole's own URL-replacer decoder later emits those characters as live HTML when the page is rendered, so the script fires in the browser of anyone who views the page. No public exploit code or PoC was identified in the provided data, but the Wordfence advisory and the pinpointed trac source lines document the exact code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 07, 2026
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and including 4.2.17, lets an unauthenticated attacker submit a crafted 'comment' value that Optimole's own render-time decoder later turns into executable script. Exploitation depends on the plugin being in its normal connected state (cdn_key and cdn_secret configured) with the image replacer enabled, which is the default post-setup configuration, and on a visitor or administrator subsequently loading the injected page. The 4.2.18 release is referenced as the fixed version; no public exploit code or confirmed active exploitation was identified at time of analysis, and this is assessed as a mid-tier priority to be handled this week.
RemediationAI
Vendor-released patch: update the Optimole plugin to version 4.2.18, the release tag referenced alongside the 4.2.17 vulnerable code in the advisory (see https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.18 and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/12ec2c2f-a86c-4b8f-b7fd-5917e31e1cd0?source=cve). If the update cannot be applied promptly, the exposure can be removed by taking the plugin out of its connected state - clearing the cdn_key and cdn_secret configuration - or by disabling the image replacer, since the vendor's exploit prerequisites require both; the trade-off is that image optimization and CDN delivery through Optimole stop working until the configuration is restored. Note that because this is stored XSS, injected content only executes when a user subsequently loads the affected page, so reviewing recent comments for metacharacter-free payloads on pages processed by Optimole is worthwhile after patching.
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
Optimole is a WordPress image optimization and CDN plugin that rewrites image URLs at render time. The flaw is CWE-79 (improper neutralization of input during web page generation) and sits in the plugin's URL replacement and manager components - specifically the code around inc/url_replacer.php lines 86 and 92, inc/manager.php lines 770 and 889, and inc/config.php line 62 in the 4.2.17 tag. Because the payload contains no HTML metacharacters when it is stored, it survives WordPress comment submission and the standard comment sanitization filters intact; the dangerous characters are generated only when Optimole's decoder processes the value during page rendering, at which point the injected script reaches the browser of any user viewing the affected page. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N (7.2), reflecting a scope change and limited confidentiality and integrity impact rather than full site compromise. The trigger path beyond this rendering-time decode is not described in the available sources.
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:N/S:C/C:L/I:L/A:N
Unauthenticated comment submission gives AV:N/AC:L/PR:N; the payload self-executes on page view so UI:N, and stored XSS crossing into the visitor's browser context gives S:C with C:L/I:L/A:N.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Optimole - Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.2.17 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit requires the plugin to be in its normal connected state (cdn_key and cdn_secret configured) with the image replacer enabled, which is the default post-setup configuration; the stored payload bypasses all WordPress comment sanitization filters because it contains no HTML metacharacters at storage time - the characters are produced only by Optimole's own decoder at render time.
Executive ViewAI
CVE-2026-119070 is a high-severity stored cross-site scripting flaw in the Optimole WordPress plugin (versions up to 4.2.17) that allows unauthenticated attackers to inject executable scripts into pages via crafted comment values, which are later rendered by the plugin's decoder. This affects all sites running the plugin in its default connected state, potentially compromising visitor and administrator sessions, stealing data, or enabling further attacks. Leadership should prioritize remediation this week to prevent reputational and operational harm.
No vendor-released patch identified at time of analysis; interim mitigations include disabling the Optimole plugin or its image replacer feature, restricting administrative access, and implementing web application firewall rules to block malicious comment payloads.
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.
Related Vulnerabilities in Optimole Plugin Stored XSS Flaws
View all 3Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack
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 through 4.2.10) allows
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-118552
GHSA-m3mp-7pq7-5q6h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB