Stored cross-site scripting in Optimole WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The Optimole plugin for WordPress is affected up to and including 4.2.18. Input in the srcset descriptor of the page profiler is stored without sufficient sanitization or output escaping, which is CWE-79. An unauthenticated remote attacker can inject arbitrary web scripts that run when a user opens an affected page. The HMAC signature needed for the REST endpoint's authorization check is exposed to unauthenticated visitors, so the authentication barrier is effectively absent.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Description from the CNA
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 's (missing_srcsets[*][*].s)' 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. The HMAC signature required to pass the REST endpoint's authorization check is published in plaintext to unauthenticated visitors inside the inline optimoleDataOptimizer JavaScript object on any page with an incomplete profile, making the effective authentication barrier nonexistent.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| optimole | Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization | up to 4.2.18 | — | No fix listed | CNA |
- Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization Vendoroptimole Affected up to 4.2.18 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for the Optimole plugin (Optimize Images, Convert WebP & AVIF, CDN & Lazy Load, Image Optimization).
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Timeline
- 2026-11-07 Threatist record created from CVE-2026-120739
- 2026-11-07 Alias added: GHSA-crfc-xm73-w674
- 2026-11-07 CISA SSVC decision points changed
- 2026-11-07 Priority changed: MEDIUM → LOW
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d60007c-8957-4c46-8c5c-47b7f626f0bb?source=cve
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/rest.php#L159
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/rest.php#L1020
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/tag_replacer.php#L529
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/tag_replacer.php#L312
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php#L519
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3784828%40optimole-wp&new=3784828%40optimole-wp
More optimole vulnerabilities
- TI-2026-04558 Optimole <= 4.2.2 - Unauthenticated Stored Cross-Site Scripting via Srcset Descriptor Parameter CVSS 3.1HIGH 7.2
- TI-2026-01518 Super Page Cache <= 5.2.2 - Unauthenticated Stored Cross-Site Scripting via Activity Log CVSS 3.1HIGH 7.2
- TI-2026-53980 Optimole <= 4.2.10 - Unauthenticated Stored Cross-Site Scripting via 'a' (above_fold_images) Parameter CVSS 3.1HIGH 7.2
- TI-2026-86192 Stored cross-site scripting in Optimole WordPress plugin via comments CVSS 3.1HIGH 7.2
- TI-2026-86170 Stored cross-site scripting in Optimole WordPress plugin CVSS 3.1HIGH 7.2
- TI-2026-41497 WordPress Optimole plugin <= 4.2.7 - Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
Sources
- CVE-2026-120739 · CVE Program
- CVE-2026-120739 · NVD
- FIRST EPSS
- GHSA-crfc-xm73-w674 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences