MediumGHSA-hcch-w73c-jp4mCVE-2026-32612

Statamic vulnerable to privilege escalation via stored cross-site scripting

Published 13 Mar 2026 · Updated 16 Mar 2026

Affected package

statamic/cmsComposer
Affected
>=6.0.0 <6.6.2
Fixed in
6.6.2
Update to the fixed version for your release line, for example: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.

Is GHSA-hcch-w73c-jp4m in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected statamic/cms, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.