{"id":"CVE-2026-56393","aliases":["GHSA-4mgv-366x-qxvx"],"url":"https://o3.security/vulnerability/CVE-2026-56393","summary":"Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options","details":"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":"2026-06-21T13:27:01.755Z","modified":"2026-08-12T03:51:21.262822678Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"5.9.0-beta.1"},{"ecosystem":"Packagist","name":"craftcms/cms","fixedVersion":"4.17.0-beta.1"}],"fix":{"url":"https://github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2","label":"craftcms/cms@67780a7"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56393.json"},{"type":"ADVISORY","url":"https://github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56393"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-names-and-field-options"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2"},{"type":"FIX","url":"https://github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:21.262822678Z"}}