{
 "id": "WPSEC-2026-4669",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4669/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4669/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4669/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4669.json",
 "title": "WebP Express <= 0.25.16 - Authenticated (Contributor+) Stored Cross-Site Scripting via Image HTML Attributes",
 "description": "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.",
 "plugin": {
  "slug": "webp-express",
  "name": "WebP Express",
  "full_name": "WebP Express",
  "wordpress_org": "https://wordpress.org/plugins/webp-express/",
  "advisories_url": "https://wpsec.com/vuln/plugin/webp-express/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/webp-express"
 },
 "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": "0.11.0",
    "from_inclusive": true,
    "to": "0.25.17",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 0.11.0 before 0.25.17"
  ]
 },
 "introduced_in": "0.11.0",
 "fixed_in": "0.25.17",
 "remediation": "Update to 0.25.17 or later.",
 "fix_released": "2026-12-04T10:03:37+00:00",
 "published": "2026-12-05T11:43:21+00:00",
 "updated": "2026-12-05T10:42:37.267771+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4669/",
  "https://plugins.svn.wordpress.org/webp-express/tags/0.25.17/",
  "https://wordpress.org/plugins/webp-express/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/webp-express",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-05"
 }
}