{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4669",
 "modified": "2026-12-05T11:43:21Z",
 "published": "2026-12-05T11:43:21Z",
 "summary": "WebP Express <= 0.25.16 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image HTML Attributes",
 "details": "The WebP Express plugin for WordPress is vulnerable to Stored Cross-Site Scripting via HTML attributes of <img> tags in all versions up to, and including, 0.25.16, due to insufficient output escaping in the bundled dom-util-for-webp library, which decodes image attribute values and writes them back unescaped when it replaces <img> tags with <picture> tags. 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. Exploitation requires the 'Alter HTML' feature to be enabled with the 'Replace <img> tags with <picture> tags' option selected.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "webp-express"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0.11.0"
      },
      {
       "fixed": "0.25.17"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 0.11.0 before 0.25.17"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4669/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/webp-express/tags/0.25.17/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/webp-express/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4669/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
