{
 "id": "WPSEC-2026-4567",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4567/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4567/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4567/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4567.json",
 "title": "EWWW Image Optimizer <= 8.9.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image Attribute Rewriting",
 "description": "The EWWW Image Optimizer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via its front-end HTML attribute rewriting (used by Lazy Load, JS WebP and Picture WebP delivery) in all versions up to, and including, 8.9.2. This is due to the plugin updating an attribute by replacing every occurrence of the attribute's original text in the tag. When the same text also appears inside another attribute's value, such as an alt attribute, it is rewritten there as well with double quotes, which breaks out of the enclosing attribute. This makes it possible for authenticated attackers, with contributor-level access and above, to craft image markup in post content that executes arbitrary web scripts when a user views the page, provided one of these front-end features is enabled.",
 "plugin": {
  "slug": "ewww-image-optimizer",
  "name": "EWWW Image Optimizer",
  "full_name": "EWWW Image Optimizer",
  "wordpress_org": "https://wordpress.org/plugins/ewww-image-optimizer/",
  "advisories_url": "https://wpsec.com/vuln/plugin/ewww-image-optimizer/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/ewww-image-optimizer"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.9,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "8.9.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 8.9.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "8.9.3",
 "remediation": "Update to 8.9.3 or later.",
 "fix_released": "2026-12-02T20:55:14+00:00",
 "published": "2026-12-03T21:45:35+00:00",
 "updated": "2026-12-03T12:10:58.536351+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4567/",
  "https://plugins.svn.wordpress.org/ewww-image-optimizer/tags/8.9.3/",
  "https://wordpress.org/plugins/ewww-image-optimizer/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/ewww-image-optimizer",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-12-03"
 }
}