ADVISORIES

GitHub Advisory Database

GHSA-7rcv-55mj-chg7

Statamic has Stored XSS via SVG Sanitization Bypass

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.

Affected packages

EcosystemPackageAffected versions
Packagiststatamic/cms
From 6.0.0-alpha.1 before 6.7.0 (fixed in 6.7.0)
Packagiststatamic/cms
All versions before 5.73.14 (fixed in 5.73.14)

References