{
 "id": "WPSEC-2026-3660",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3660/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3660/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3660/index.md",
 "title": "WP SVG Images <= 4.5 - Authenticated (Author+) Stored Cross-Site Scripting via SVG Animation Elements and URL Attributes",
 "description": "The WP SVG Images plugin for WordPress is vulnerable to Stored Cross-Site Scripting via uploaded SVG files in all versions up to, and including, 4.5. This is due to insufficient sanitization in the bundled SVG sanitizer. Animation elements and the attributeName attribute were allowed without restriction, so an animation could change a link's href to a javascript: URL after sanitization, which runs in Safari and other WebKit browsers. The href check was also case-sensitive on the attribute name. This makes it possible for authenticated attackers with author-level access and above, or any role allowed to upload sanitized SVG files, to inject arbitrary web scripts that execute when a user opens the uploaded file and clicks a link in it.",
 "plugin": {
  "slug": "wp-svg-images",
  "name": "WP SVG Images",
  "full_name": "WP SVG Images",
  "wordpress_org": "https://wordpress.org/plugins/wp-svg-images/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wp-svg-images/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wp-svg-images"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "4.0",
    "from_inclusive": true,
    "to": "4.6",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 4.0 before 4.6"
  ]
 },
 "introduced_in": "4.0",
 "fixed_in": "4.6",
 "remediation": "Update to 4.6 or later.",
 "fix_released": "2026-11-20T12:21:13+00:00",
 "published": "2026-11-21T12:47:12+00:00",
 "updated": "2026-11-21T09:00:32.731809+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3660/",
  "https://plugins.svn.wordpress.org/wp-svg-images/tags/4.6/",
  "https://wordpress.org/plugins/wp-svg-images/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wp-svg-images",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-21"
 }
}