Statamic has Stored XSS via SVG Sanitization Bypass
Package
Affected versions
>= 6.0.0-alpha.1, < 6.7.0
< 5.73.14
Patched versions
6.7.0
5.73.14
Description
Published to the GitHub Advisory Database
Mar 18, 2026
Reviewed
Mar 18, 2026
Last updated
Mar 18, 2026
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.
References