GHSA-7rcv-55mj-chg7high8.7
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
statamic/cms Packagist
| Affected range | Recorded fix |
|---|---|
| From 6.0.0-alpha.1 before 6.7.0Ecosystem versions | 6.7.0 |
| Earlier releases before 5.73.14Ecosystem versions | 5.73.14 |
Version evidence: OSV · GHSA-7rcv-55mj-chg7
View original version evidence (532 explicit versions)
Original source description
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.