CVE-2026-119070
Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL Replacer
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.17 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 exploit requires the plugin to be in its normal connected state (cdn_key and cdn_secret configured) with the image replacer enabled, which is the default post-setup configuration; the stored payload bypasses all WordPress comment sanitization filters because it contains no HTML metacharacters at storage time — the characters are produced only by Optimole's own decoder at render time.
Fixes and workarounds
No remediation reported in collected sources.
Missing remediation information is not evidence that no patch exists.
Affected products and versions
| Product | Versions | Authority |
|---|---|---|
| Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization optimole |
≥ 0; ≤ 4.2.17 (affected, semver)
Other versions: unaffected |
CNA: Wordfence |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 7.2 high |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N | CNA: Wordfence |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/12ec2c2f-a86c-4b8f-b7fd-5917e31e1cd0?source=cveCNA: Wordfence
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/url_replacer.php#L92CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/url_replacer.php#L86CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php#L770CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php#L889CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/config.php#L62CNA: Wordfence
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.18CNA: Wordfence
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.