Security advisoryCVE-2026-25759
Statamic CMS vulnerable to privilege escalation via stored cross-site scripting
As published by the sources
Affected packages
- Affected
>=6.0.0,<6.2.3Fixed in6.2.3
Derived from the fixed versions above
What to do
Upgrade statamic/cms to 6.2.3 or later.
composer update statamic/cms --with-dependencies
To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.
Quoted from the original advisory
Details
Impact
Stored XSS vulnerability in content titles allow authenticated users with content creation permissions to inject malicious JavaScript that executes when viewed by higher-privileged users.
Malicious user must have an account with control panel access and content creation permissions.
This vulnerability can be exploited to allow super admin accounts to be created.
Patches
This has been fixed in 6.2.3.
References
- Advisoryhttps://github.com/advisories/GHSA-ff9r-ww9c-43x8
- Webhttps://github.com/statamic/cms/security/advisories/GHSA-ff9r-ww9c-43x8
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-25759
- Webhttps://github.com/statamic/cms/commit/6ed4f65f3387686d6dbd816e9b4f18a8d9736ff6
- Packagehttps://github.com/statamic/cms
- Webhttps://github.com/statamic/cms/releases/tag/v6.2.3