Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. statamic/cms
  4. ›
  5. CVE-2026-33172

CVE-2026-33172: Statamic has Stored XSS via SVG Sanitization Bypass

March 18, 2026

Stored XSS vulnerability in SVG asset reuploads allows authenticated users with asset upload permissions to bypass SVG sanitization and inject malicious JavaScript that executes when the asset is viewed.

References

  • github.com/advisories/GHSA-7rcv-55mj-chg7
  • github.com/statamic/cms
  • github.com/statamic/cms/security/advisories/GHSA-7rcv-55mj-chg7
  • nvd.nist.gov/vuln/detail/CVE-2026-33172

Code Behaviors & Features

Detect and mitigate CVE-2026-33172 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.73.14, all versions starting from 6.0.0-alpha.1 before 6.7.0

Fixed versions

  • 6.7.0
  • 5.73.14

Solution

Upgrade to versions 5.73.14, 6.7.0 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/statamic/cms/CVE-2026-33172.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 19 Mar 2026 16:05:28 +0000.