VDB
Sign up
HIGH8.7

GHSA-7rcv-55mj-chg7

Statamic has Stored XSS via SVG Sanitization Bypass

Quick fix

GHSA-7rcv-55mj-chg7 — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^6.7.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 6.0.0-alpha.1Fixed in: 6.7.0
Fixcomposer require statamic/cms:^6.7.0
Packagist/statamic/cms
Introduced in: 0Fixed in: 5.73.14
Fixcomposer require statamic/cms:^5.73.14

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/statamic/cms"]}'