Skip to main content

Optimole CVE-2026-96531

| EUVDEUVD-2026-87539 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-26 WPScan GHSA-m59v-2jwx-hmp2
6.8
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Author-level account
  2. Delivery
    Insert Optimole video-player block with unescaped event-handler attribute
  3. Exploit
    Publish post storing the payload
  4. Execution
    Administrator views the post
  5. Persist
    Script executes in admin browser session
  6. Impact
    Hijack admin session / perform privileged actions

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account with the WordPress Author role or higher on a site running the Optimole plugin (versions 4.0.0 through 4.2.12). The attacker must use the plugin's video-player block and supply an unrecognized attribute containing an event handler, which is stored unescaped on the block wrapper element. Execution is not immediate: it requires a victim (such as an administrator) to view the post containing the malicious block (UI:R). Limiting factors: the Author-level authentication barrier means it is not exploitable by anonymous visitors, the payload only fires when a higher-privileged user renders the affected post, and sites updated to 4.2.13 or later are not affected.

Impact

This is a genuine but bounded stored-XSS issue, not a top-tier emergency. The vendor CVSS 3.1 vector (6.8, AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H) is internally inconsistent with the description in two ways worth flagging: (1) the description states exploitation requires the Author role 'and above,' which is a low-privilege authenticated role in WordPress - so PR:H overstates the barrier and PR:L is more accurate; (2) rating C:H/I:H/A:H for a reflected/stored event-handler injection inflates the impact - a stored XSS in a post typically yields partial confidentiality/integrity impact against the victim's session (S:C), not total confidentiality, integrity AND availability of the system. The corroborating signals point to low real-world urgency: EPSS is only 0.15% (4th percentile), SSVC records Exploitation as 'none' and Automatable as 'no,' and there is no CISA KEV listing. Publicly available POC code (WPScan) exists, which raises the floor slightly, but POC availability is distinct from active exploitation and none is confirmed. SSVC 'Technical Impact: total' conflicts with the low EPSS and 'no' automatable rating - 'total' here reflects worst-case script execution in an admin browser rather than observed mass exploitation. Net: a real, patchable issue warranting timely updating, but the Author-level authentication requirement, required victim interaction (an admin viewing the malicious post), and absence of exploitation activity keep it in the low-to-medium priority band.

Exploit ScenarioDerived

An attacker who has obtained (or been granted) an Author account on a WordPress site inserts an Optimole video-player block and adds an unrecognized attribute carrying a JavaScript event handler (e.g. an onmouseover/onerror payload). Because the plugin renders unrecognized attributes onto the block's wrapper element without escaping, the payload is stored in the post and later executes in the browser of any higher-privileged user - notably an administrator - who views that post, enabling session/cookie theft or admin-context actions. Publicly available POC code from WPScan lowers the effort required to reproduce the injection.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 27, 2026

Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated user with the WordPress Author role or higher to inject an event-handler attribute into the wrapper element of the plugin's video-player block; because that unrecognized attribute is rendered without escaping, the payload executes in the browser of any higher-privileged user - such as an administrator - who views the crafted post. Publicly available exploit code exists, and the vendor has released Optimole 4.2.13 to fix it. Risk is bounded: EPSS is only 0.15% (4th percentile), there is no CISA KEV listing, and CISA's SSVC assessment records no observed exploitation and no automatable vector, so this is a genuine but contained stored-XSS issue rather than a top-tier emergency.

RemediationAI

Vendor-released patch: update the Optimole plugin to 4.2.13 or later, which escapes the unrecognized block attributes before they are written to the wrapper element; this is the only complete fix and it is available via the standard WordPress plugin update mechanism. Where immediate updating is not possible, the practical compensating controls are to reduce who can create or edit posts - temporarily downgrade non-administrative users away from Author/Contributor-and-above capabilities (capability changes affect legitimate editorial workflows), to stop using the Optimole video-player block in untrusted content (removes the feature that carries the payload), or to remove/deactivate the plugin (loses image optimization functionality). Administrators should also review existing posts containing the Optimole video-player block for injected event-handler attributes, and note that WAF or content-security-policy rules blocking inline event handlers can blunt execution but will not remove the stored payload. No patch-less condition applies because the fix is confirmed: the vendor advisory is referenced through WPScan at https://wpscan.com/vulnerability/15ad5748-8c2b-4c60-9818-57790f7033c7/ and the EUVD/NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-96531.

Affected VersionsENISA

Optimole 4.0.0 <4.2.13

Affected Packages

euvd optimole fix: 4.2.13

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Optimole is a WordPress image-optimization and media plugin that registers Gutenberg blocks, including a video-player block. The flaw is a classic CWE-79 improper-neutralization-of-input-during-web-page-generation issue: when the block renders, its attributes are emitted onto the block's wrapper DOM element, but the code only escapes attributes it recognizes and passes any unknown/unrecognized attribute through verbatim. An attacker who can create posts (Author role or above) can therefore supply an arbitrary custom attribute such as an inline event handler, which is stored in post content and later reflected into the HTML of the page. This makes the issue a persistent (stored) XSS rather than reflected, and it bridges a privilege boundary: a low-privileged content author can execute script in the security context of a higher-privileged viewer, potentially enabling session/token theft or administrative actions on their behalf. The official CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H) rates it 6.8, while our independent assessment (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) scores the realistic prerequisites lower and assumes a lower Author-level bar and scope change; both agree the attack is network-reachable, low-complexity, authenticated, and requires a victim to render the poisoned post. The supplied CPE is cpe:2.3:a:unknown:optimole:*:*:*:*:*:*:*:* - the vendor field is 'unknown' and the version is wildcarded, so CPE-based matching is unreliable here and detection must rely on the plugin's own version string (EUVD lists the affected range as Optimole 4.0.0 < 4.2.13).

Know when Optimole gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (WPScan) PRIMARY 6.8 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 5.4 MEDIUM

Author is a low-privilege role (PR:L not PR:H); stored XSS needs an admin to view the post (UI:R) and executes in a separate security context (S:C) with partial confidentiality/integrity and no availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Sep 26, 2026 - 23:37 NVD
6.8 (None) 6.8 (MEDIUM)
Patch available
Sep 26, 2026 - 07:16 EUVD
CVE Published
Sep 26, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Sep 26, 2026 - 06:00 cve.org
MEDIUM 6.8

DescriptionCVE.org

The Optimole WordPress plugin before 4.2.13 does not escape unrecognized attributes of its video-player block before rendering them onto the block's wrapper element, allowing users with the Author role and above to store an event-handler attribute that executes scripts in the browser of any user, such as an administrator, who views the post.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
Medium
Optimole is a popular WordPress image-optimization plugin, hundreds of thousands of installs
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Total

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-84829 HIGH POC
8.8 Sep 16

Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack

CVE-2026-96530 MEDIUM POC
6.5 Oct 07

Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service

CVE-2026-120739 HIGH
7.2 Nov 07

Stored cross-site scripting in the Optimole image-optimization plugin for WordPress (all versions up to and including 4.

CVE-2026-77365 HIGH
7.2 Aug 28

Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows

CVE-2026-120677 HIGH
7.2 Nov 07

Stored cross-site scripting in the Optimole WordPress plugin through 4.2.18 lets unauthenticated attackers submit a craf

CVE-2026-119070 HIGH
7.2 Nov 07

Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in

CVE-2026-5217 HIGH
7.2 Apr 11

Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr

CVE-2026-125094 HIGH
7.2 Nov 20

Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in

CVE-2026-124969 HIGH
7.1 Nov 14

Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers de

CVE-2024-27968 HIGH
7.1 Mar 21

Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated

CVE-2026-57673 HIGH
7.1 Jul 02

Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l

CVE-2026-102375 MEDIUM
6.5 Sep 30

Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy