{"id":"CVE-2026-54002","summary":"Kirby: Cross-site scripting (XSS) from incomplete HTML/XML sanitization in `Dom::sanitize()`","details":"Kirby is an open-source content management system. Prior to 4.9.4 and 5.4.4, Kirby sites and plugins that use the writer or list fields or call Dom::sanitize(), Sane::sanitize(), Sane::Html::sanitize(), Sane::Svg::sanitize(), Sane::Xml::sanitize(), Sane::sanitizeFile(), or file sanitizeContents() with untrusted input allow malicious markup injected as children of an unknown HTML or XML tag to pass through Dom::sanitize() without being correctly sanitized, causing stored cross-site scripting. This issue is fixed in versions 4.9.4 and 5.4.4.","aliases":["GHSA-wr9h-4r83-f4v6"],"modified":"2026-07-15T01:49:19.685370539Z","published":"2026-07-09T18:34:29.041Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79","CWE-87"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54002.json"},"references":[{"type":"WEB","url":"https://github.com/getkirby/kirby/releases/tag/4.9.4"},{"type":"WEB","url":"https://github.com/getkirby/kirby/releases/tag/5.4.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54002.json"},{"type":"ADVISORY","url":"https://github.com/getkirby/kirby/security/advisories/GHSA-wr9h-4r83-f4v6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54002"},{"type":"FIX","url":"https://github.com/getkirby/kirby/commit/0f0437b5128c910103cbc78fc34d94b2a3faef4c"},{"type":"FIX","url":"https://github.com/getkirby/kirby/commit/7ad76cf9c7387462828e6ebfc8404e31b37829e9"},{"type":"FIX","url":"https://github.com/getkirby/kirby/commit/9ec1873864441dbc06479ef7823da348ec7f2700"},{"type":"FIX","url":"https://github.com/getkirby/kirby/commit/bb2562e16c754493a403b8df84c9883108871e4c"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/getkirby/kirby","events":[{"introduced":"0"},{"introduced":"2ff182ba39ddea19fa1615bd3733f734b5e53842"},{"fixed":"274dca6df93de6eda649f27f5367ddbc8e0f1fe1"},{"fixed":"3f96d3b9ccda22f0d2f901b96376b5d08556ad75"},{"fixed":"0f0437b5128c910103cbc78fc34d94b2a3faef4c"},{"fixed":"7ad76cf9c7387462828e6ebfc8404e31b37829e9"},{"fixed":"9ec1873864441dbc06479ef7823da348ec7f2700"},{"fixed":"bb2562e16c754493a403b8df84c9883108871e4c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.9.4"},{"introduced":"5.0.0"},{"fixed":"5.4.4"}],"source":["AFFECTED_FIELD","REFERENCES"]}}],"versions":["5.4.3","5.4.2","4.9.2","5.4.1","4.9.1","5.4.0","4.9.0","4.8.0","5.3.3","5.3.2","5.3.1","5.3.0","5.2.3","5.2.2","5.2.1","5.2.0","5.1.4","5.1.3","5.1.2","5.1.1","5.1.0","5.0.4","5.0.3","5.0.2","5.0.1","5.0.0","4.7.2","4.7.1","4.7.0","4.6.1","4.6.0","4.5.0","4.4.1","4.4.0","4.3.1","4.3.0","4.2.0","4.1.2","4.1.1","4.1.0","3.9.8","4.0.3","4.0.2","4.0.1","4.0.0","3.9.7","3.9.6.1","3.9.6","3.8.4","3.9.6-rc.1","3.9.5","3.9.4","3.9.3","3.9.2","3.9.1","3.9.0","3.8.3","3.8.2","3.8.1.1","3.8.1","3.8.0","3.7.5","3.7.4","3.7.3","3.6.6","3.7.4-rc.1","3.5.7.1","3.7.2.1","3.7.2","3.7.1","3.7.0.2","3.7.0.1","3.7.0","3.6.5","3.6.4","3.6.3.1","3.6.3","3.6.2","3.6.2-rc.3","3.6.2-rc.2","3.6.2-rc.1","3.6.1.1","3.6.0","3.5.7","3.5.6","3.5.5","3.5.4","3.5.3.1","3.5.3","3.5.2","3.5.1","3.5.1-rc.1","3.5.0","3.5.0-rc.7","3.5.0-rc.6","3.5.0-rc.5","3.5.0-rc.4","3.5.0-rc.3","3.5.0-rc.2","3.5.0-rc.1","3.4.2","3.4.1","3.4.0","3.3.6","3.3.5","3.3.4","3.3.3","3.3.2","3.3.1","3.3.0","3.2.5","3.2.5-rc.2","3.2.5-rc.1","3.2.3-rc.1","3.2.2","3.2.1","3.2.1-rc.1","3.2.0","3.2.0-rc.4","3.2.0-rc.3","3.2.0-rc.2","3.2.0-rc.1","3.1.4","3.1.4-rc.1","3.1.3","3.1.3-rc.1","3.1.2","3.1.2-rc.1","3.1.1","3.1.0","3.1.0-rc.1","3.0.3","3.0.3-rc.3","3.0.3-rc.2","3.0.3-rc.1","3.0.2","3.0.2-rc.1","3.0.1","3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54002.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"}]}