CVE-2026-56393
Description
Craft CMS 4.x (>= 4.0.0-RC1, < 4.17.0-beta.1) and 5.x (>= 5.0.0-RC1, < 5.9.0-beta.1) contain multiple stored cross-site scripting vulnerabilities where settings names and field option labels are rendered without sanitization (e.g., via the checkbox.twig template, which used {{ label|raw }}). An authenticated administrator (with allowAdminChanges enabled) can inject malicious payloads into section names, volume names, user group names, global set names, generated field names, checkbox/radio option labels, and custom source labels, causing arbitrary JavaScript to execute in other users' control-panel sessions. Fixed in 4.17.0-beta.1 and 5.9.0-beta.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
craftcms/cmsPackagist | >= 5.0.0-RC1, < 5.9.0-beta.1 | 5.9.0-beta.1 |
craftcms/cmsPackagist | >= 4.0.0-RC1, < 4.17.0-beta.1 | 4.17.0-beta.1 |
Affected products
3Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-4mgv-366x-qxvxghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-56393ghsaADVISORY
- github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2nvdWEB
- github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276nvdWEB
- github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvxnvdWEB
- www.vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-names-and-field-optionsnvdWEB
News mentions
1- Craft CMS: Nine Vulnerabilities Including RCE and SSRF Disclosed in BatchVypr Intelligence · Jun 21, 2026