CVE-2026-84829

Optimole < 4.2.12 - Unauthenticated Stored XSS via Srcset Descriptor Parameter

Published Sep 16, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
The Optimole WordPress plugin before 4.2.12 does not properly escape a user supplied value before using it to build an image tag attribute, allowing unauthenticated users to inject arbitrary attributes into pages served to every visitor, which leads to Stored Cross-Site Scripting.

Analysis

AI-generated

Technical impact

The vulnerability resides in the Optimole WordPress plugin before version 4.2.12, where user‑supplied input is not properly escaped before being inserted into an image tag attribute. This flaw permits unauthenticated users to inject arbitrary attributes, resulting in stored cross‑site scripting that will be executed for every visitor to the site. Because the attack payload is persisted, any attacker who can add an image descriptor can compromise all users who view affected pages.

Affected Systems

The issue affects installations of the Optimole plugin older than version 4.2.12. The plugin is commonly used on WordPress sites to optimize image delivery. The specific affected component is the image tag rendering logic that builds an HTML image element from srcset descriptor parameters supplied by the site administrator or plugin itself.

Risk and Exploitability

The CVSS score is 8.8, and the EPSS score indicates an exploitation probability of less than 1%, so the likelihood of widespread exploitation appears low at present. However, the vulnerability qualifies as a stored XSS that could be leveraged to steal credentials, deface sites, or serve malware to all users. It is not currently listed in the CISA KEV catalog. The likely attack vector is exploitation by unauthenticated users sending crafted requests that introduce malicious attributes into the srcset field.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Optimole plugin to version 4.2.12 or later.
  • If an immediate update cannot be performed, deactivate the plugin for unauthenticated users or replace it with a safer alternative.
  • Implement a web application firewall rule or input sanitization to strip disallowed attributes from image tags.

Generated by OpenCVE AI on September 18, 2026 at 12:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

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

Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
First Time appeared Optimole
Optimole optimole
Wordpress
Wordpress wordpress
Vendors & Products Optimole
Optimole optimole
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Optimole WordPress plugin before 4.2.12 does not properly escape a user supplied value before using it to build an image tag attribute, allowing unauthenticated users to inject arbitrary attributes into pages served to every visitor, which leads to Stored Cross-Site Scripting.
Title Optimole < 4.2.12 - Unauthenticated Stored XSS via Srcset Descriptor Parameter
References
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Sep 17, 2026, 12:37 PM
Reserved
Sep 2, 2026, 11:30 AM
Status
Deferred
Published
Sep 16, 2026, 6:16 AM
Modified
Sep 17, 2026, 1:16 PM