Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running Optimole <= 4.2.7
-
DeliveryCraft XSS payload in plugin input
-
ExploitDeliver crafted link to victim
-
ExecutionVictim loads page rendering payload
-
PersistScript executes in victim's browser session
-
ImpactSteal session or forge admin 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 | Exploitation requires a target site running Optimole version 4.2.7 or earlier and, per the CVSS UI:R metric, a victim who is induced to interact with attacker-supplied content (click a crafted link or load a page carrying the injected payload). No authentication is required on the attacker's side (PR:N), so the injection can be triggered by an unauthenticated remote actor, but the payload only executes in the context of whoever views it. Limiting factors that reduce realistic risk: the mandatory user interaction, the requirement that the site actually runs the vulnerable Optimole version, and the fact that impact is confined to the victim's browser session rather than direct server-side compromise. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L = 7.1 High) indicates network-reachable, low-complexity, unauthenticated exploitation, but success depends on user interaction (UI:R), which meaningfully lowers real-world likelihood versus a no-interaction flaw. This is a typical Patchstack-catalogued WordPress plugin XSS: real but not wormable. No EPSS score was provided, so exploitation probability cannot be quantified; there is no referenced POC and no CISA KEV listing, so there is no evidence of active exploitation - do not treat it as in-the-wild. The low C:L/I:L/A:L impacts reflect XSS's session-level rather than server-level compromise. Net: a legitimate patch-management priority for sites running Optimole, not a drop-everything emergency. One data-quality caveat: the affected-version boundary comes from the description, while the CPE is wildcarded with no upper bound - verify the exact fixed version with the vendor before relying on it. |
| Exploit ScenarioDerived | An attacker crafts a URL or input targeting an Optimole-handled parameter containing a malicious JavaScript payload, then lures a logged-in administrator or visitor to open the link or view the affected page. When the page renders the unsanitized input, the script executes in the victim's browser under the WordPress origin, enabling session token theft, forged admin actions, or content injection. No public POC was referenced, and because the CVSS vector requires user interaction (UI:R), a social-engineering delivery step is necessary. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 02, 2026
Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) lets remote unauthenticated attackers inject arbitrary JavaScript that executes in the browser of any user who views the affected content. Reported by Patchstack and classified CWE-79 with a CVSS 3.1 score of 7.1, the flaw carries a scope-changing impact (S:C) but requires victim interaction (UI:R). At the time of analysis there is no public exploit identified and the issue is not listed in CISA KEV; no EPSS value was supplied.
RemediationAI
Upgrade Optimole to a release newer than 4.2.7; the exact fixed version was not included in the provided data, so treat the patched build as unconfirmed and verify it against the vendor changelog before deploying (No vendor-released patch version identified at time of analysis). Track the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/optimole-wp/vulnerability/wordpress-optimole-plugin-4-2-7-cross-site-scripting-xss-vulnerability?_s_id=cve for the confirmed fixed release. Until you can update, place the affected pages behind a Web Application Firewall with XSS filtering (Patchstack or equivalent virtual patching), which blocks common injection payloads at the cost of possible false positives on legitimate rich content; alternatively, deactivate the Optimole plugin if image optimization can be temporarily suspended, accepting the trade-off of losing CDN offload and lazy-loading and thus slower image delivery.
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 widely used WordPress plugin that offloads, optimizes, and lazy-loads images through a cloud CDN. The vulnerability is a CWE-79 Cross-Site Scripting weakness, meaning attacker-controlled input is rendered into an HTML/JavaScript context without adequate output encoding or input sanitization. Because the CVSS vector marks PR:N and UI:R with a scope change (S:C), the injected payload crosses the trust boundary of the vulnerable plugin to execute in the security context of the browsing user's WordPress session. The only CPE provided is cpe:2.3:a:optimole:optimole:*:*:*:*:*:*:*:* with no upper-version boundary encoded, so the affected range is defined by the human-readable description (<= 4.2.7) rather than by the CPE itself.
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:N/UI:R/S:C/C:L/I:L/A:L
Unauthenticated network injection (PR:N/AV:N) requiring victim interaction (UI:R); XSS crosses into the browser context (S:C) with limited session-level C/I/A impact.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Cross Site Scripting (XSS) in Optimole <= 4.2.7 versions.
Executive ViewAI
WordPress installations running Optimole image-optimization plugin versions 4.2.7 and earlier are vulnerable to cross-site scripting (CVE-2026-57673) that allows unauthenticated attackers to inject arbitrary JavaScript into user browsers. This creates organizational risk through credential harvesting, malware distribution, and content manipulation across your user base, with no vendor patch currently available.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable Optimole plugin immediately and deploy alternative image-optimization solution; (2) Deploy Web Application Firewall rules blocking XSS payloads targeting plugin parameters; (3) Implement Content Security Policy headers restricting inline script execution; (4) Limit plugin administrative access to pre-authorized personnel; (5) Enable detailed logging of plugin interactions and user session monitoring for anomaly detection.
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
Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use
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
Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info
EUVD-2026-41284
GHSA-jv93-qw89-pf3m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB