Skip to main content

Optimole CVE-2026-119070

| EUVDEUVD-2026-118552 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-07 Wordfence GHSA-m3mp-7pq7-5q6h
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted comment to public post
  2. Delivery
    Payload stored, bypassing WordPress sanitization
  3. Exploit
    Optimole decoder emits HTML at render time
  4. Execution
    Script executes in each visitor's browser
  5. Impact
    Hijack 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization 0 ≤4.2.17

Affected Packages

euvd optimole_optimize_images_convert_webp_avif_cdn_lazy_load_image_optimization no fix

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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

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.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
popular WordPress image-optimization plugin, broad but not universal install base
Social Media
1
Sightings
Data Quality
4 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 No
EPSS 0.3%
Patch available No
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
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
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.

Related Vulnerabilities in Optimole Plugin Stored XSS Flaws

View all 3
CVE-2026-84829 HIGH POC
8.8 Sep 16

Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack

CVE-2026-96531 MEDIUM POC
6.8 Sep 26

Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use

CVE-2026-96530 MEDIUM POC
6.5 Oct 07

Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service

CVE-2026-77365 HIGH
7.2 Aug 28

Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows

CVE-2026-5217 HIGH
7.2 Apr 11

Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr

CVE-2026-125094 HIGH
7.2 Nov 20

Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in

CVE-2026-124969 HIGH
7.1 Nov 14

Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers de

CVE-2024-27968 HIGH
7.1 Mar 21

Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated

CVE-2026-57673 HIGH
7.1 Jul 02

Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l

CVE-2026-102375 MEDIUM
6.5 Sep 30

Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info

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