6.4medium
EWWW Image Optimizer <= 8.7.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'data-script' Lazy Load Attribute in Post Content
- Severity
- 6.4medium CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Wordfence
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| nosilver4u EWWW Image Optimizer | up to 8.7.3 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
El plugin EWWW Image Optimizer para WordPress es vulnerable a cross-site scripting almacenado a través del atributo de carga diferida ’data-script’ en el contenido de las publicaciones en todas las versiones hasta la 8.7.3, inclusive, debido a la sanitización insuficiente de las entradas y al escape de las salidas. Esto hace posible que atacantes autenticados, con acceso de nivel de colaborador o superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. El exploit se logra incrustando un elemento img manipulado con class=’lazyload’ y un atributo data-script que apunta a una URL controlada por el atacante en el contenido de la publicación, que el complemento lazysizes ls.unveilhooks incluido en el plugin utiliza para crear e insertar dinámicamente un elemento script en el DOM en el momento de la visualización de la página.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-15446 changed 2026-08-20 | CVE Terms of Use |
| NVD | CVE-2026-15446 changed 2026-11-09 | Public domain |