{"id":"CVE-2026-56393","summary":"Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options","details":"Craft CMS 4.x (\u003e= 4.0.0-RC1, \u003c 4.17.0-beta.1) and 5.x (\u003e= 5.0.0-RC1, \u003c 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.","aliases":["GHSA-4mgv-366x-qxvx"],"modified":"2026-07-08T08:13:50.494469949Z","published":"2026-06-21T13:27:01.755Z","database_specific":{"cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56393.json","cna_assigner":"VulnCheck"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/craftcms/cms","events":[{"introduced":"04755d93f86d07cc183db47db8a0eee106892e30"},{"introduced":"daac7c1da2f701f2e9ddee1da1457ce61660b581"},{"fixed":"0ad14c3c7e590461b52aeb44859659e2e231e04d"},{"fixed":"42cef196d68dd8d48ceaab89b2c9e2edd2cecbe8"},{"fixed":"67780a778c6ec04e68e64a0b1177c168306144a2"},{"fixed":"943152d2246b36f12adf161a03b8695b773d9276"}],"database_specific":{"extracted_events":[{"introduced":"5.0.0-RC1"},{"fixed":"5.9.0-beta.1"},{"introduced":"4.0.0-RC1"},{"fixed":"4.17.0-beta.1"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56393.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}