CVE-2026-33172: Statamic has Stored XSS via SVG Sanitization Bypass
Impact 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. Patches This has been fixed in 5.73.14 and 6.7.0.
Published Mar 18, 2026 · Updated Mar 25, 2026
Affected packages
statamic/cms
- Ecosystem
- Composer (PHP)
- Affected
- >= 6.0.0-alpha.1, < 6.7.0
- Fixed in
- 6.7.0
- Check
composer show statamic/cms
statamic/cms
- Ecosystem
- Composer (PHP)
- Affected
- < 5.73.14
- Fixed in
- 5.73.14
- Check
composer show statamic/cms
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
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.
Patches
This has been fixed in 5.73.14 and 6.7.0.
Credited to FilipeGaudard.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-64662
Statamic: Missing authorization on navigation endpoint allows disclosure of restricted entries
medium6.5Aug 6, 2026CVE-2026-64663
Statamic: Unsafe method invocation via Antlers template resolution allows data destruction
medium6.5Aug 6, 2026CVE-2026-64664
Statamic: Missing authorization on Control Panel endpoint allows disclosure of user existence
medium4.3Aug 6, 2026CVE-2026-64665
Statamic: Account takeover via OAuth email matching without email-verification check
high8.1Aug 6, 2026CVE-2026-71434
Statamic: Missing file upload validation on frontend forms allows uploading disallowed file types
medium5.3Aug 6, 2026CVE-2026-71435
Statamic: Stored Cross-Site Scripting in Automagic Form Notification Email Template
medium6.1Aug 6, 2026
