CVE-2026-119070
published high CVSS 3.1 · 7.2Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL Replacer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| optimole | — | Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization0 through 4.2.17 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| optimole | Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization | 0 through 4.2.17 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
References
7- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/config.php#L62
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php#L770
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php#L889
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/url_replacer.php#L86
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/url_replacer.php#L92
- https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.18
- https://www.wordfence.com/threat-intel/vulnerabilities/id/12ec2c2f-a86c-4b8f-b7fd-5917e31e1cd0?source=cve
Provider assertions
2Wordfence · cna
Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL Replacer
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8eb9ee9626ccb2d1bf83e54a18c303e734ff43c5dfa0d155a5d8cfb8ef7b6e3f
- Ingested
- 07 Nov 2026, 23:39:08 UTC
- Source record
- Official CVE record