XSS in Optimole – Optimize Images | Convert Webp & Avif Cdn Lazy Load Image Optimization
CVE-2026-125094
- CVSS v3
- 7.2 High
- Public exploits
- None known
- EPSS
- 0.005 · 45.8th percentile
- Published
- 2026-11-20
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.19 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 AMP plugin to be active in Transitional or Standard template mode, and comments must be open on the target post, which is the WordPress default.
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.005, 45.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/3d017da6-553a-4e6e-8a8c-8ec7e…
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/admin.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/v2/BgOptimizer/L…
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/v2/BgOptimizer/L…
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/manager.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/rest.php
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20