XSS in Optimole – Optimize Images | Convert Webp & Avif Cdn Lazy Load Image Optimization
CVE-2026-120677
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/lazyload_replace…
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19
- www.wordfence.com/threat-intel/vulnerabilities/id/e71028cd-18bc-4b16-a376-db34b…
Frequently asked questions
- What is CVE-2026-120677?
- CVE-2026-120677 is a high-severity vulnerability in Optimole – Optimize Images | Convert Webp & Avif Cdn Lazy Load Image Optimization, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-11-07.
- How severe is CVE-2026-120677?
- High severity. CVSS v3 base score is 7.2 out of 10.