Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Author-level account
-
DeliveryInsert Optimole video-player block with unescaped event-handler attribute
-
ExploitPublish post storing the payload
-
ExecutionAdministrator views the post
-
PersistScript executes in admin browser session
-
ImpactHijack 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
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.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack
Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service
Stored cross-site scripting in the Optimole image-optimization plugin for WordPress (all versions up to and including 4.
Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows
Stored cross-site scripting in the Optimole WordPress plugin through 4.2.18 lets unauthenticated attackers submit a craf
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers de
Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated
Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l
Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info
EUVD-2026-87539
GHSA-m59v-2jwx-hmp2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB