Security advisoryCVE-2026-33172
Statamic has Stored XSS via SVG Sanitization Bypass
As published by the sources
Affected packages
- Affected
>=6.0.0-alpha.1,<6.7.0 || <5.73.14Fixed in5.73.146.7.0
Derived from the fixed versions above
What to do
Upgrade statamic/cms to the fixed version in your release line: 5.73.14, 6.7.0.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
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.