VDB
Sign up
MEDIUM5.4

GHSA-hcch-w73c-jp4m

Statamic vulnerable to privilege escalation via stored cross-site scripting

Quick fix

GHSA-hcch-w73c-jp4m — statamic/cms: upgrade to the fixed version with the command below.

composer require statamic/cms:^6.6.2

Details

### Impact

Stored XSS in the control panel color mode preference allows authenticated users with control panel access to inject malicious JavaScript that executes when a higher-privileged user impersonates their account.

### Patches

This has been fixed in 6.6.2.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/statamic/cms
Introduced in: 6.0.0Fixed in: 6.6.2
Fixcomposer require statamic/cms:^6.6.2

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"]}'