Stored cross-site scripting in Optimole WordPress plugin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- 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 in all versions up to and including 4.2.20. Insufficient input sanitization and output escaping of the author parameter (CWE-79) let an unauthenticated attacker store arbitrary web scripts in pages. The scripts run whenever a user accesses an injected page. The flaw is reachable only when the 'Enable generic placeholder color' option is disabled.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
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 'author' parameter in all versions up to, and including, 4.2.20 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. This vulnerability is only reachable when the plugin's 'Enable generic placeholder color' option is disabled, as only that configuration invokes the build_url() code path that constructs $low_url from attacker-controlled input.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
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.20 | — | No fix listed | CNA |
- Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization Vendoroptimole Affected up to 4.2.20 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-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-135650
- 2026-11-27 Alias added: GHSA-6cp7-4qr7-9c8r
References
Other 7
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b86d380-5726-4b97-8d22-cac909f04986?source=cve
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/lazyload_replacer.php#L342
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/lazyload_replacer.php#L298
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/url_replacer.php#L86
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/manager.php#L730
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/manager.php#L722
- https://plugins.trac.wordpress.org/browser/optimole-wp/#tags/4.2.21
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-91826 Arbitrary file deletion in Optimole WordPress plugin CVSS 3.1HIGH 7.1
- TI-2026-95843 Stored cross-site scripting in Optimole WordPress plugin via comments CVSS 3.1HIGH 7.2
- TI-2026-86193 Stored cross-site scripting in Optimole WordPress plugin CVSS 3.1HIGH 7.2
- TI-2026-86192 Stored cross-site scripting in Optimole WordPress plugin via comments CVSS 3.1HIGH 7.2
Sources
- CVE-2026-135650 · CVE Program
- CVE-2026-135650 · NVD
- FIRST EPSS
- GHSA-6cp7-4qr7-9c8r · 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