{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-3873",
 "modified": "2026-11-25T10:55:27Z",
 "published": "2026-11-25T10:55:27Z",
 "summary": "Qi Blocks <= 1.5.4 - Authenticated (Author+) Stored Cross-Site Scripting via SVG File Upload",
 "details": "The Qi Blocks plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG file uploads in all versions up to, and including, 1.5.4. This is due to the plugin allowing SVG uploads for every user who can upload media, while only sanitizing the file when the client-declared Content-Type is image/svg+xml and never sanitizing sideloaded files, such as raw-body uploads to the REST media endpoint. This makes it possible for authenticated attackers, with Author-level access and above, to upload SVG files containing arbitrary web scripts that execute whenever a user accesses the uploaded file.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "qi-blocks"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "1.5.5"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 1.5.5"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-3873/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/qi-blocks/tags/1.5.5/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/qi-blocks/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-3873/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
