Skip to content
OpenAdvisories
High · 8.5 CVE-2026-54002 EUVD-2026-42687GHSA-wr9h-4r83-f4v6

Kirby: Cross-site scripting (XSS) from incomplete HTML/XML sanitization in `Dom::sanitize()`

Published Jul 9, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
getkirby kirby < 4.9.4, >= 5.0.0, < 5.4.4 —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist getkirby/cms < 4.9.4 4.9.4 GHSA-wr9h-4r83-f4v6
Packagist getkirby/cms >= 5.0.0-alpha.1, < 5.4.4 5.4.4 GHSA-wr9h-4r83-f4v6

References