CVE-2026-120677: Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Vulnerability summary
CVE-2026-120677 is a high (CVSS 7.2) vulnerability in optimole optimole – optimize images | convert webp & avif | cdn & lazy load | image optimization. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 22.9% of scored vulnerabilities.
Severe, CVSS 7.2 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 20-11-2026)
Source freshness unavailable
How is this decided?Timeline
- 07-11-2026PublishedVulnerability first disclosed.
- 07-11-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST7.2HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Optimole1 product
1 vendor · 1 product