ZeroHour

CVE-2026-77365

large

Unauthenticated Stored XSS in Optimole WordPress Image-Optimization Plugin

CVSS 3.1
7.2 high
EPSS
<1%p24
Published
()
Modified
AI analysis

CVE-2026-77365 is a stored cross-site scripting (XSS) flaw in the Optimole image-optimization plugin for WordPress, caused by insufficient input sanitization and output escaping of the 'a' (above_fold_images) parameter in all versions up to and including 4.2.10. An unauthenticated attacker can supply a crafted value for this parameter so that arbitrary web scripts are stored and embedded in pages of the affected site. The injected JavaScript then executes whenever a user accesses the injected page, potentially enabling session hijacking, redirects, or actions taken in the context of logged-in users. Any WordPress site running Optimole 4.2.10 or earlier is affected. Exploitation has not been confirmed: no public proof of concept is known, the issue is not in CISA KEV, and EPSS assigns only a 0.3% probability of exploitation within 30 days.

What to do: Update Optimole to the latest available release (any version after 4.2.10; no specific fixed version number is provided in the available data). Until patched, consider deactivating the plugin or deploying WAF rules that restrict unexpected values in the 'a'/above_fold_images parameter. Review rendered pages for already-injected scripts and check access logs for suspicious unauthenticated requests that reference this parameter.

Affected
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization (WordPress plugin)all versions up to and including 4.2.10
Estimated exposure
large≈100,000–200,000 sites (plugin's WordPress.org active-install count is in the 100,000+ tier) — Estimate is based on the Optimole plugin's publicly listed WordPress.org active-install count (on the order of 100,000–200,000), since the vulnerable parameter is processed without authentication on any site where the plugin is active; the…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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 'a' (above_fold_images) parameter in all versions up to, and including, 4.2.10 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.

Ecosystems
WordPress
Weakness
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

In the news

No ingested article mentions this CVE yet.