Optimole image optimization plugin stored script injection flaw
CVE-2026-125094
A WordPress image plugin lets attackers plant malicious code in visitors' browsers.
- CVE
- CVE-2026-125094 (opens in a new tab)
- Score
- CVSS 7.2
- First seen
Mitigation
Check that Optimole runs a version newer than 4.2.19, and read the vendor's advisory.
Summary
The Optimole WordPress plugin, versions up to and including 4.2.19, has a stored XSS flaw that lets an unauthenticated attacker plant malicious scripts through comments. It affects sites with the AMP plugin active in Transitional or Standard mode, on posts where comments are open.
Affected when
- AMP plugin active in Transitional or Standard template mode
- Comments open on the target post
6 other Incidents of this product in the last 30 days
Incidents by product: Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
Other recent Incidents of Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
Read the CVE record · cve.org (opens in a new tab)
- CVE record: cve.org (opens in a new tab)