Skip to main content

Optimole CVE-2026-120677

| EUVDEUVD-2026-118603 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-07 Wordfence GHSA-f2h3-jjvx-q22f
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 via 'comment' parameter
  2. Delivery
    Admin approves malicious comment
  3. Exploit
    Payload stored on post with iframe/video
  4. Execution
    User views injected page
  5. Impact
    Script executes in victim browser

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

Three concrete conditions must all hold: (1) an unauthenticated attacker submits the payload through the 'comment' parameter; (2) an administrator must manually approve that comment before it is published; and (3) the affected post must contain at least one iframe or video element (e.g., a core WordPress Video block), which triggers Optimole's lazy-load replacement path. The description notes this is satisfied under default plugin settings because video lazy loading is enabled by default. The limiting factors are therefore the mandatory administrator approval step and the requirement that the target post contain an iframe/video element - without both, the stored payload does not execute.

Impact

This is a stored XSS (CWE-79) in the Optimole WordPress plugin with an input CVSS of 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N). The network vector and PR:N correctly reflect that the initial injection vector - submitting a comment - is reachable by unauthenticated attackers, and S:C reflects script execution in other users' browser context. However, the CVSS AC:L understates the real preconditions: the description states exploitation requires an administrator to approve the malicious comment AND the target post to contain at least one iframe or video element. These are meaningful gating factors that the base vector does not capture, so the practical likelihood is lower than 7.2 alone suggests. No EPSS score was provided and the vulnerability is NOT in CISA KEV; no SSVC technical-impact/automatable breakdown was supplied beyond the vendor-style 'this_week' priority label from vuln.today. There is no POC/Exploit confirmation in the input (references are the Wordfence advisory and WordPress trac source lines, not verified working exploit code), so exploitation status is: no public exploit identified at time of analysis. Net: a legitimate same-week patching priority given unauthenticated reachability and the default-enabled video lazy-load condition, but not an emergency - the admin-approval requirement makes mass, hands-off exploitation unlikely, pointing toward a conditional rather than widespread threat.

Exploit ScenarioDerived

An unauthenticated attacker submits a blog comment containing a crafted payload in the 'comment' parameter on a post that includes a video or iframe block. Once an administrator approves the comment and any user views that post, the plugin's lazy-load replacement logic renders the unsanitized content and the injected script executes in the visitor's browser. No public, verified exploit code is identified at time of analysis.

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 WordPress plugin through 4.2.18 lets unauthenticated attackers submit a crafted 'comment' value that executes in visitors' browsers once an administrator approves the comment and the affected post contains an iframe or video element. The plugin's default video lazy loading makes that second condition easier to satisfy, but administrator approval remains a required step. The independent assessment rates the issue with AC:H rather than the input AC:L because both prerequisites must hold; vuln.today assigns this_week priority, and no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: 4.2.19. Upgrade Optimole to 4.2.19 or later, using the plugin tag referenced at https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19 and the vendor advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/e71028cd-18bc-4b16-a376-db34b7212206?source=cve. Versions through 4.2.18 remain vulnerable. If immediate upgrade is not possible, reduce exposure by addressing the documented exploit prerequisites: disable video lazy loading, avoid iframe or video elements on posts that accept comments, and tightly control administrator comment approval; these are compensating measures with the trade-off of changing legitimate media behavior or comment workflows and do not replace the vendor fix.

Affected VersionsENISA

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

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

The flaw is CWE-79 stored cross-site scripting in the Optimole - Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization WordPress plugin. The supplied CPE identifies the Optimole plugin, and the referenced code paths are inc/manager.php and inc/lazyload_replacer.php in the 4.2.17 tag, with the 4.2.19 tag referenced as the fixed release. Insufficient sanitization of the 'comment' parameter and insufficient output escaping allow script content to be stored and later rendered. Execution depends on the comment being approved by an administrator and on the affected post containing at least one iframe or video element, which reaches Optimole's lazy-load replacement path; video lazy loading is enabled by default, so the iframe/video condition is commonly met. The independent assessment keeps PR:N and UI:N but changes AC:L to AC:H to reflect the mandatory approval step and the iframe/video element requirement.

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 5.4 MEDIUM

Unauthenticated injection keeps PR:N, but mandatory admin approval plus a required iframe/video element on the post are attacker-uncontrolled preconditions, so AC:H; XSS in victim context gives S:C and C:L/I:L.

3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/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.18 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. Exploitation requires the comment to be approved by an administrator and for the affected post to contain at least one iframe or video element (e.g., a core Video block), which is sufficient under default plugin settings where video lazy loading is enabled.

Executive ViewAI

Why It Matters

CVE-2026-120677 is a high-severity stored cross-site scripting flaw in the Optimole WordPress plugin (versions through 4.2.18) that allows an unauthenticated attacker to inject malicious code via a comment, which then executes in visitors' browsers after an administrator approves the comment and the post contains an iframe or video element. This puts site visitors at risk of session hijacking or data theft, and could harm the organization's reputation and customer trust. Leadership should prioritize remediation because the plugin is widely used and the attack requires only user interaction, not authentication.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include disabling or removing the Optimole plugin, restricting comment approval to trusted users, auditing existing comments for malicious content, and deploying WAF rules to filter XSS attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Medium
popular WordPress image-optimization plugin, widely but not universally deployed
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