CVE-2026-119070

Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL Replacer

Published Nov 7, 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 'comment' parameter in all versions up to, and including, 4.2.17 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. The exploit requires the plugin to be in its normal connected state (cdn_key and cdn_secret configured) with the image replacer enabled, which is the default post-setup configuration; the stored payload bypasses all WordPress comment sanitization filters because it contains no HTML metacharacters at storage time — the characters are produced only by Optimole's own decoder at render time.

Analysis

AI-generated

Technical impact

The vulnerability allows an unauthenticated attacker to store malicious scripts within the comment field of any post or page on a WordPress site that uses the Optimole plugin. The stored payload bypasses the platform's normal sanitization because it contains no visible HTML tags at insertion time; the characters are produced later by Optimole's own decoder during rendering. Consequently, every user who views the affected page will execute the injected script, giving the attacker the ability to steal session cookies, deface content, or redirect victims.

Affected Systems

Any website that uses the Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization WordPress plugin in versions 4.2.17 or earlier.

Risk and Exploitability

The CVSS score of 7.2 classifies the vulnerability as high. The EPSS score is not available, and it is not listed in the CISA KEV catalog, indicating no confirmed exploitation in the public domain to date. The attack is carried out entirely from the outside, requiring only a crafted comment submission. The plugin must be in its normal connected state – both cdn_key and cdn_secret configured – and the image replacer feature must be enabled, which is the default after setup. Once the comment is stored, any visitor who loads the page will trigger the decoder, causing the script to run.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Remove or disable the Optimole plugin until the vendor releases a fix, to eliminate the vulnerable functionality.
  • Delete any comments that contain suspicious or malformed content to mitigate immediate risk.
  • Disable the image replacer or disconnect the CDN key/secret to prevent the decoder from processing stored payloads.
  • Check the vendor's website or support portal for updates or patches to keep the plugin current.

Generated by OpenCVE AI on November 7, 2026 at 04:23 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-extensions
Wordpress-extensions optimole
Vendors & Products Optimole
Optimole optimole – Optimize Images | Convert Webp & Avif | Cdn & Lazy Load | Image Optimization
Wordpress-extensions
Wordpress-extensions optimole
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 'comment' parameter in all versions up to, and including, 4.2.17 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. The exploit requires the plugin to be in its normal connected state (cdn_key and cdn_secret configured) with the image replacer enabled, which is the default post-setup configuration; the stored payload bypasses all WordPress comment sanitization filters because it contains no HTML metacharacters at storage time — the characters are produced only by Optimole's own decoder at render time.
Title Optimole <= 4.2.17 - Unauthenticated Stored Cross-Site Scripting via Comment Content via Backslash-Escaped Unicode in URL Replacer
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
Nov 7, 2026, 6:06 PM
Reserved
Oct 29, 2026, 12:50 PM
Status
Deferred
Published
Nov 7, 2026, 3:17 AM
Modified
Nov 7, 2026, 6:17 PM