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.
Published: 2026-09-16
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting that affects all visitors
Action: Immediate Patch
AI Analysis

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 not disclosed, 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.

Generated by OpenCVE AI on September 16, 2026 at 15:52 UTC.

Remediation

No vendor fix or workaround currently provided.

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 16, 2026 at 15:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 16 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Wed, 16 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Optimole
Optimole optimole
Wordpress
Wordpress wordpress
Vendors & Products Optimole
Optimole optimole
Wordpress
Wordpress wordpress

Wed, 16 Sep 2026 06:15:00 +0000

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

Subscriptions

Optimole Optimole
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-09-16T06:00:13.192Z

Reserved: 2026-09-02T11:30:12.919Z

Link: CVE-2026-84829

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-09-16T06:16:33.663

Modified: 2026-09-16T20:25:29.240

Link: CVE-2026-84829

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-16T16:00:13Z

Weaknesses
  • CWE-79

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