WordPress plugins
CVE-2026-125094
Optimole <= 4.2.19 - Unauthenticated Stored Cross-Site Scripting via Comment body
- Severity
- High 7.2
- Published
- 20 Nov 2026
- Last changed
- 20 Nov 2026
- Added to UpHeron
- 20 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N- Sources
- CVE Program
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.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.
Affected software
| Software | Affected versions |
|---|---|
Optimole WP (WordPress plugin)WordPress plugins · wp-plugin:optimole-wp |
|
About Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
Automatically optimize images with bulk compression, lazy loading, WebP/AVIF conversion & CloudFront image CDN. Boost Core Web Vitals & conversions.
- Active installations
- 200,000+WordPress.org, 15 Nov 2026
- Latest version
- 4.2.20WordPress.org, 15 Nov 2026
- Last updated
- 12 Nov 2026WordPress.org
- Rating
- 4.7 out of 5 (641 ratings)WordPress.org, 15 Nov 2026
- Requires WordPress
- 5.5WordPress.org
- Requires PHP
- 7.4WordPress.org
- Tested up to WordPress
- 7.1.4WordPress.org
- Author
- OptimoleWordPress.org
- In the directory since
- 23 Sept 2018WordPress.org
Vulnerabilities in Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
- In our list
- 5
- Published in the last 12 months
- 5
- Critical, last 12 months
- 0
- High, last 12 months
- 5
- Known exploited
- 0
- CVE-2026-124969Optimole <= 4.2.19 - Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment RenameHigh 7.1 14 Nov 2026
- CVE-2026-120677Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Comment ContentHigh 7.2 7 Nov 2026
- CVE-2026-120739Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Page Profiler srcset DescriptorHigh 7.2 7 Nov 2026
- CVE-2026-119070Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL ReplacerHigh 7.2 7 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-125094