Home › Vulnerabilities › Optimole
Optimole WordPress Plugin Affected by Two Stored XSS Flaws in All Versions Through 4.2.20
NVD published two MEDIUM-rated (CVSS 5.4) stored cross-site scripting flaws in the Optimole – Optimize Images plugin for WordPress, affecting all versions up to and including 4.2.20. Each has specific conditions under which it can be reached.
What to look into
- 2 vulnerabilities in Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization: 2 medium (CVSS up to 5.4).
- None of them is known to be exploited yet.
- Start with CVE-2026-135650 (5.4 medium): The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' parameter in all version… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
- Kinds of flaws: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (×2).
Key points
- Two stored XSS flaws in the Optimole WordPress plugin, both rated MEDIUM (CVSS 5.4).
- Both affect all versions up to and including 4.2.20.
- CVE-2026-135650 is reachable only when 'Enable generic placeholder color' is disabled, according to the record.
- CVE-2026-132618 requires iframe lazy-loading, a suitable post, and a prior approved comment from the attacker.
- The sources do not name a fixed version or workaround.
What the batch covers
Two records published by NVD on 2026-11-26 describe stored cross-site scripting (XSS) flaws in the Optimole – Optimize Images plugin for WordPress. Both affect all versions up to and including 4.2.20 and are rated MEDIUM with a CVSS score of 5.4. The records do not say either flaw has been exploited.
The two flaws
CVE-2026-135650 is reached through the 'author' parameter. According to the record, an unauthenticated attacker can inject scripts that run when a user opens an affected page. The record says it is reachable only when the plugin's 'Enable generic placeholder color' option is disabled, because only that configuration calls the buildurl() code path.
CVE-2026-132618 is reached through the 'comment' parameter and has the same injection and script-execution outcome. The record describes several conditions: iframe lazy-loading enabled (stated to be the default on new Optimole-connected installs), a target post containing at least one iframe with fallback text, and a prior approved comment from the attacker, so that WordPress's default setting auto-approves later malicious comments.
Who should act
Both records cover every version through 4.2.20. The sources do not name a fixed version or an official workaround, so administrators should check with the vendor for a patched release. Because the conditions differ between the two flaws, the settings named above are worth reviewing on affected sites.
What to do
- Check whether the installed Optimole version is 4.2.20 or earlier, since both records cover all versions up to and including it.
- Review whether the 'Enable generic placeholder color' option is disabled, the condition the record gives for CVE-2026-135650.
- Review whether iframe lazy-loading is enabled, the condition the record gives for CVE-2026-132618.
- Check with the vendor for a fixed release, since the records do not name one.
The 2 vulnerabilities
- CVE-2026-135650 5.4 The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' parameter in all versions up to, and including, 4.2.20 due to in…
- CVE-2026-132618 5.4 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 i…
Frequently asked questions
How many Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization vulnerabilities were published on November 26, 2026?
2 vulnerabilities: 2 medium, with CVSS scores up to 5.4.
Are any of them being exploited?
None of them is in CISA's Known Exploited Vulnerabilities catalog yet.
Which one should be fixed first?
CVE-2026-135650 (CVSS 5.4): The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'author' parameter in all version…