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.
Published: 2026-08-28
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Patch
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Fri, 28 Aug 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 28 Aug 2026 09:15:00 +0000

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

Fri, 28 Aug 2026 05:00:00 +0000

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'}


Subscriptions

Optimole Optimole – Optimize Images | Convert Webp & Avif | Cdn & Lazy Load | Image Optimization
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-28T15:17:13.576Z

Reserved: 2026-08-20T19:34:28.834Z

Link: CVE-2026-77365

cve-icon Vulnrichment

Updated: 2026-08-28T15:16:56.687Z

cve-icon NVD

Status : Deferred

Published: 2026-08-28T05:16:46.223

Modified: 2026-08-28T16:18:26.437

Link: CVE-2026-77365

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T15:00:13Z

Weaknesses
  • CWE-79

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