GHSA-PC6P-PVRM-J4J5
Vulnerability from github – Published: 2026-08-19 09:31 – Updated: 2026-08-19 09:31The 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": [],
"aliases": [
"CVE-2026-15446"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-08-19T07:16:27Z",
"severity": "MODERATE"
},
"details": "The EWWW Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via \u0027data-script\u0027 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=\u0027lazyload\u0027 and a data-script attribute pointing to an attacker-controlled URL in post content, which the plugin\u0027s bundled lazysizes ls.unveilhooks addon then uses to dynamically create and insert a script element into the DOM at page view time.",
"id": "GHSA-pc6p-pvrm-j4j5",
"modified": "2026-08-19T09:31:22Z",
"published": "2026-08-19T09:31:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-15446"
},
{
"type": "WEB",
"url": "https://github.com/nosilver4u/ewww-image-optimizer/commit/4488aafaee9212db370a5ed2dcb9bad7912b897d"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.6.0/classes/class-lazy-load.php#L1679"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.6.0/classes/class-lazy-load.php#L496"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.6.0/includes/ls.unveilhooks.js#L116"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.6.0/includes/ls.unveilhooks.js#L178"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.7.3/classes/class-lazy-load.php#L1679"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.7.3/classes/class-lazy-load.php#L496"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.7.3/includes/ls.unveilhooks.js#L116"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/ewww-image-optimizer/tags/8.7.3/includes/ls.unveilhooks.js#L178"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/e8af1fdb-7fec-4bbe-937b-ee2e76cf5c5b?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.