Optimole <= 4.2.18 - Unauthenticated Stored Cross-Site Scripting via Page Profiler srcset Descriptor
Summary
| CVE | CVE-2026-120739 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-07 04:17:13 UTC |
| Updated | 2026-11-07 18:17:18 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
EPSS: 0.003410000 probability, percentile 0.277620000 (date 2026-11-09)
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Optimole | Optimole Optimize Images Convert WebP AVIF CDN Lazy Load Image Optimization | affected 4.2.18 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/tag_replacer.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/tag_replacer.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/rest.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/5d60007c-8957-4c46-8c5c-47b7f... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.17/inc/rest.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Mohamed Amgad Khater (mamgad) (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-02T20:56:13.000Z | Vendor Notified |
| CNA | 2026-11-06T14:33:50.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.