Craft is a platform for creating digital experiences. From 5.0.0-RC1 to 5.8.21, Craft has a stored XSS via Entry Type names. The name is not sanitized when displayed in the Entry Types list. This vulnerability is fixed in 5.8.22.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25491.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.8.21"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "cfd6ba0e2ce1a59a02d75cae6558c4ace1ab8bd4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "5.8.22",
"range": [
{
"fixed": "8e23a7a14d50f169c10a487348c993384d479e06"
}
],
"source": "REFERENCES_TAG"
}
]
}