CVE-2026-56393
MEDIUM 4.6CVSS 4.0Craft CMS Vulnerable to Stored XSS in Settings Names and Field Options
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.
- Published
- 21 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-4mgv-366x-qxvx
- Sources
- NVDJSONOSV GHSA-4mgv-366x-qxvxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 4.6 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P | |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.9.0-beta.1 | 5.9.0-beta.1 |
| OSV | Packagist | craftcms/cms | >= 4.0.0-RC1, < 4.17.0-beta.1 | 4.17.0-beta.1 |
References
- https://github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2 · WEB
- https://github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276 · WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvx · WEB
- https://www.vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-names-and-field-options · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56393 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 21 Jun 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 3 Mar 2026)