GHSA-7rcv-55mj-chg7
Statamic has Stored XSS via SVG Sanitization Bypass
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | statamic/cms | >= 6.0.0-alpha.1, < 6.7.0 | 6.7.0 |
| Packagist | statamic/cms | < 5.73.14 | 5.73.14 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
External links from the advisory. They lead to third-party sites.