{"id":"CVE-2026-54002","published":"2026-07-09T18:34:29Z","modified":"2026-07-09T19:26:59Z","title":"Kirby: Cross-site scripting (XSS) from incomplete HTML/XML sanitization in `Dom::sanitize()`","vendor":"getkirby","product":"kirby","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00547,"percentile":0.46727,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-87","name":"Improper Neutralization of Alternate XSS Syntax"}],"references":[{"url":"https://github.com/getkirby/kirby/security/advisories/GHSA-wr9h-4r83-f4v6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getkirby/kirby/commit/0f0437b5128c910103cbc78fc34d94b2a3faef4c","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/commit/7ad76cf9c7387462828e6ebfc8404e31b37829e9","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/commit/9ec1873864441dbc06479ef7823da348ec7f2700","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/commit/bb2562e16c754493a403b8df84c9883108871e4c","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/releases/tag/4.9.4","tags":["x_refsource_MISC"]},{"url":"https://github.com/getkirby/kirby/releases/tag/5.4.4","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.35},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"getkirby","affectedVersions":[{"vendor":"getkirby","product":"kirby","versions":["< 4.9.4",">= 5.0.0, < 5.4.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-07-09T19:26:51.396531Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"getkirby/cms","vulnerableRanges":["<4.9.4",">=5.0.0-alpha.1, <5.4.4"],"patched":["4.9.4","5.4.4"],"from":["GHSA-wr9h-4r83-f4v6"],"provenance":"source"}],"summary":{"text":"Kirby, an open-source content management system (product: kirby), has a flaw in its HTML/XML sanitization logic in Dom::sanitize(), which fails to neutralize malicious markup nested as children of unknown HTML or XML tags in writer and list fields and in the related sanitize methods. An attacker with low-privileged access who can get malicious content into these inputs and induce a user to interact with the affected page can store cross-site scripting that executes in the victim's browser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:14Z"},"euvd":{"id":"EUVD-2026-42687","exploited":false,"provenance":"source"}}