Optimole <= 4.2.20 - Unauthenticated Stored Cross-Site Scripting via Comment Content
Summary
| CVE | CVE-2026-132618 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-26 15:17:25 UTC |
| Updated | 2026-11-26 15:17:25 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 'comment' 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. Successful exploitation requires that iframe lazy-loading is enabled (the default on new Optimole-connected installs), that the target post contains at least one iframe with fallback text, and that the attacker has had at least one prior comment approved so WordPress's default "Comment author must have a previously approved comment" setting auto-approves subsequent malicious comments. |
Risk And Classification
Primary CVSS: v3.1 5.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
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] | Primary | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.4 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:H/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.20 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/manager.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/50f5422b-aaa0-4ffa-8e3c-0eb4c... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/optimole-wp | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/lazyload_replacer.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20/inc/lazyload_replacer.php | [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: hoho087 (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-18T20:15:12.000Z | Vendor Notified |
| CNA | 2026-11-26T02:21:32.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.