Original 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.
Affected software
- CraftCMS ≥ 5.0.0-RC1 < 5.9.0-beta.1≥ 4.0.0-RC1 < 4.17.0-beta.1 Fixed in: 5.9.0-beta.1, 4.17.0-beta.1 repository or package match
Details
- Published
- 2026-06-21
- Last modified
- 2026-11-08
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.22% (percentile 13)
References
- cve.org/CVE-2026-56393
- nvd.nist.gov/vuln/detail/CVE-2026-56393
- github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvx
- github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276
- github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2
- www.vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-na...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.