Skip to main content

Optimole CVE-2026-57673

| EUVDEUVD-2026-41284 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-02 Patchstack GHSA-jv93-qw89-pf3m
7.1
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

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

  1. Access
    Identify site running Optimole <= 4.2.7
  2. Delivery
    Craft XSS payload in plugin input
  3. Exploit
    Deliver crafted link to victim
  4. Execution
    Victim loads page rendering payload
  5. Persist
    Script executes in victim's browser session
  6. Impact
    Steal 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Optimole n/a ≤4.2.7

Affected Packages

euvd optimole no fix

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

Vendor (Patchstack) PRIMARY 7.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 7.1 HIGH

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.

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

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

DescriptionCVE.org

Unauthenticated Cross Site Scripting (XSS) in Optimole <= 4.2.7 versions.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Medium
popular WordPress image-optimization plugin, common but not universal
Data Quality
4 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
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-96531 MEDIUM POC
6.8 Sep 26

Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use

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-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