CVE-2026-120739
published high CVSS 3.1 · 7.2Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Page Profiler srcset Descriptor
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.18 · 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 '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.
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.18 (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/manager.php#L519
- 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/rest.php#L159
- 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/tag_replacer.php#L529
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3784828%40optimole-wp&new=3784828%40optimole-wp
- https://www.wordfence.com/threat-intel/vulnerabilities/id/5d60007c-8957-4c46-8c5c-47b7f626f0bb?source=cve
Provider assertions
2Wordfence · cna
Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Page Profiler srcset Descriptor
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63f0e496976267e876f0bbda765380cfa540d426370dae154182bcf186240f42
- Ingested
- 07 Nov 2026, 23:40:15 UTC
- Source record
- Official CVE record