CVE-2026-77365

Optimole <= 4.2.10 - Unauthenticated Stored Cross-Site Scripting via 'a' (above_fold_images) Parameter

Published Aug 28, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Optimole – Optimize Images plugin for WordPress is vulnerable to stored cross‑site scripting. Because the plugin fails to sanitize or escape the 'a' (above_fold_images) parameter, an unauthenticated attacker can inject arbitrary JavaScript that will run whenever a user loads a page containing the injected value. This flaw allows the attacker to execute scripts in a victim’s browser, potentially leading to session hijacking, defacement or redirection to malicious sites.

Affected Systems

All installations of the Optimole WordPress plugin up to and including version 4.2.10 are affected. The vulnerability exists in the plugin’s core files that handle the 'a' parameter and in the PageProfiler profile code. WordPress site owners using this plugin should check the plugin version and upgrade to a fixed release.

Risk and Exploitability

The vulnerability has a CVSS score of 7.2 and is listed as not currently in the CISA KEV catalog. No EPSS score is available, implying limited publicly known exploitation attempts. Attackers can exploit the flaw without any authentication by sending crafted requests that set the 'a' parameter and then trick users to view the affected page. The impact is limited to the browsing context of users who view the affected content and can spread quickly through shared links or social engineering.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Optimole plugin to the latest release (4.2.11 or later) which removes the stored XSS flaw.
  • If the plugin is required in its current version, disable or remove the treatment of the 'a' parameter in the above_fold_images setting to prevent injection.
  • Deploy a Content Security Policy that restricts script execution from unknown sources as a temporary protection until the plugin is patched.

Generated by OpenCVE AI on August 28, 2026 at 14:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Optimole
Optimole optimole – Optimize Images | Convert Webp & Avif | Cdn & Lazy Load | Image Optimization
Wordpress
Wordpress wordpress
Vendors & Products Optimole
Optimole optimole – Optimize Images | Convert Webp & Avif | Cdn & Lazy Load | Image Optimization
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title Optimole <= 4.2.10 - Unauthenticated Stored Cross-Site Scripting via 'a' (above_fold_images) Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 28, 2026, 3:17 PM
Reserved
Aug 20, 2026, 7:34 PM
Status
Deferred
Published
Aug 28, 2026, 5:16 AM
Modified
Aug 28, 2026, 4:18 PM