Craft CMS - Multiple Stored Cross-Site Scripting 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-56393
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:46 UTC · Revision 1
Source evidence
Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options
core-osv · Original sourcePublished 21 Jun 2026, 13:27 UTC
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.
osv:CVE-2026-56393
Complete source record
{
"id": "7ee0237b5c72b726b10b0fd5a1d6f8981ab1593b342c8d894784fc729a46c1a5",
"url": "https://osv.dev/vulnerability/CVE-2026-56393",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Craft CMS - Multiple Stored Cross-Site Scripting in Settings Names and Field Options",
"summary": "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.",
"evidence": "osv:CVE-2026-56393",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-56393",
"aliases": [
"CVE-2026-56393",
"GHSA-4mgv-366x-qxvx"
],
"metrics": [
{
"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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/craftcms/cms",
"type": "GIT",
"events": [
{
"introduced": "04755d93f86d07cc183db47db8a0eee106892e30"
},
{
"fixed": "0ad14c3c7e590461b52aeb44859659e2e231e04d"
},
{
"introduced": "daac7c1da2f701f2e9ddee1da1457ce61660b581"
},
{
"fixed": "42cef196d68dd8d48ceaab89b2c9e2edd2cecbe8"
},
{
"fixed": "943152d2246b36f12adf161a03b8695b773d9276"
},
{
"fixed": "67780a778c6ec04e68e64a0b1177c168306144a2"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "5.0.0-RC1"
},
{
"fixed": "5.9.0-beta.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "4.0.0-RC1"
},
{
"fixed": "4.17.0-beta.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "943152d2246b36f12adf161a03b8695b773d9276"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "67780a778c6ec04e68e64a0b1177c168306144a2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56393.json"
}
}
],
"modified": "2026-10-28T02:30:22.253313542Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56393.json",
"https://github.com/craftcms/cms/security/advisories/GHSA-4mgv-366x-qxvx",
"https://nvd.nist.gov/vuln/detail/CVE-2026-56393",
"https://www.vulncheck.com/advisories/craft-cms-multiple-stored-cross-site-scripting-in-settings-names-and-field-options",
"https://github.com/craftcms/cms/commit/67780a778c6ec04e68e64a0b1177c168306144a2",
"https://github.com/craftcms/cms/commit/943152d2246b36f12adf161a03b8695b773d9276"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56393.json"
}
},
"related_cves": [
{
"value": "CVE-2026-56393",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 488742,
"published_at": "2026-06-21T13:27:01.755+00:00"
}