CVE-2026-125094Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization cross-site scripting (XSS)
CVSS score
7.2
High
CVSS 3.1 from wordfence.com
Exploit probability (EPSS)
0.53%
0.53% chance of exploitation in the next 30 days, higher than 45.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security@wordfence.com
How to fix it, step by step
Check whether you're affected
Find every system running Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Affected products
| Affected products | Versions |
|---|---|
| optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization | ≤ 4.2.19 |
Weakness
- CWE-79 cross-site scripting (XSS)
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-125094 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-125094?
CVE-2026-125094 has a CVSS 3.1 base score of 7.2 (high).
Which versions are affected?
Optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization (≤ 4.2.19)
Is there a patch for CVE-2026-125094?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/admin.php#L520
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/manager.php#L593
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/rest.php#L184
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/v2/BgOptimizer/Lazyload.php#L132
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/v2/BgOptimizer/Lazyload.php#L15
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20
- www.wordfence.com/threat-intel/vulnerabilities/id/3d017da6-553a-4e6e-8a8c-8ec7eda0ed7a?source=cve
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.