Skip to content
Security advisoryCVE-2026-33172

Statamic has Stored XSS via SVG Sanitization Bypass

High8.7Published Modified Original advisory

As published by the sources

Affected packages

  • Affected>=6.0.0-alpha.1,<6.7.0 || <5.73.14
    Fixed in5.73.146.7.0

Derived from the fixed versions above

What to do

  1. 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.

References

laravel.now is an independent community project. It is not affiliated with, endorsed by, sponsored by, or in any way officially connected to Laravel, Laravel LLC, Taylor Otwell, or the Laravel framework maintainers. Laravel is a trademark of Taylor Otwell. All other trademarks belong to their respective owners.

This site is operated by the makers of Lockhound. Links to Lockhound are promotional.