Vulnerability · Published Jul 9, 2026 · Assigned by GitHub_M
CVE-2026-54002Kirby: Cross-site scripting (XSS) from incomplete HTML/XML sanitization in `Dom::sanitize()`
High 8.5
In plain English
A high-severity cross-site scripting in kirby from getkirby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 46% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | getkirby/cms | 4.9.4 | GHSA-wr9h-4r83-f4v6 |
| Packagist | getkirby/cms | 5.4.4 | GHSA-wr9h-4r83-f4v6 |
Affected products (as reported)
Weakness: CWE-79, CWE-87 · 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
References
- https://github.com/getkirby/kirby/security/advisories/GHSA-wr9h-4r83-f4v6 x_refsource_CONFIRM
- https://github.com/getkirby/kirby/commit/0f0437b5128c910103cbc78fc34d94b2a3faef4c x_refsource_MISC
- https://github.com/getkirby/kirby/commit/7ad76cf9c7387462828e6ebfc8404e31b37829e9 x_refsource_MISC
- https://github.com/getkirby/kirby/commit/9ec1873864441dbc06479ef7823da348ec7f2700 x_refsource_MISC
- https://github.com/getkirby/kirby/commit/bb2562e16c754493a403b8df84c9883108871e4c x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/4.9.4 x_refsource_MISC
- https://github.com/getkirby/kirby/releases/tag/5.4.4 x_refsource_MISC