CVE-2026-135650 Optimole <= 4.2.20 - Unauthenticated Stored Cross-Site Scripting via Comment Author Name

Published Updated

Unauthenticated attackers can store scripts via author names in Optimole when the generic placeholder option is disabled.

CVSS score

Medium

5.4/10

CVSS 3.1 · Scored by Wordfence Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Over the internet
No login, no user action

What is CVE-2026-135650?

CVE-2026-135650 is a medium-severity cross-site scripting vulnerability in Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization, published on 26 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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 'author' 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. This vulnerability is only reachable when the plugin's 'Enable generic placeholder color' option is disabled, as only that configuration invokes the build_url() code path that constructs $low_url from attacker-controlled input.

Weakness: CWE-79

How severe is CVE-2026-135650?

CVE-2026-135650 scores 5.4 out of 10 under CVSS 3.1, which is medium severity. It was scored by Wordfence.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

Which versions are affected by CVE-2026-135650?

Only installations with a non-default setting turned on are exposed.

How do I fix CVE-2026-135650?

No fix has been published for CVE-2026-135650 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-135650 being exploited?

There is no known exploitation of CVE-2026-135650 in the wild and no public exploit code.

Sources

Also known as GHSA-6cp7-4qr7-9c8r.

Is CVE-2026-135650 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free