Kirby: Cross-site scripting (XSS) from incomplete HTML/XML sanitization in `Dom::sanitize()`
CVE-2026-54002Published 9 Jul 2026, 18:34 UTC
Real-world risk
2.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.5
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| kirbyCommon | < 4.9.4; >= 5.0.0, < 5.4.4 | 4.9.4, 5.4.4 |
What to do
Update to a fixed version: 4.9.4, 5.4.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 37), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.420
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.42 × threat 0.852.856
- Rounded to one decimal between 0.1 and 102.9
Exploitation and evidence timeline
- 9 Jul 2026 Published
- 3 Dec 2026 Risk 2.9 (cvss fallback)
Weakness
CWE-79, CWE-87
References
- https://github.com/getkirby/kirby/security/advisories/GHSA-wr9h-4r83-f4v6vendor-advisory
- https://github.com/getkirby/kirby/commit/0f0437b5128c910103cbc78fc34d94b2a3faef4cmisc
- https://github.com/getkirby/kirby/commit/7ad76cf9c7387462828e6ebfc8404e31b37829e9misc
- https://github.com/getkirby/kirby/commit/9ec1873864441dbc06479ef7823da348ec7f2700misc
- https://github.com/getkirby/kirby/commit/bb2562e16c754493a403b8df84c9883108871e4cmisc
- https://github.com/getkirby/kirby/releases/tag/4.9.4misc
- https://github.com/getkirby/kirby/releases/tag/5.4.4misc
- CVE-2026-54002 on CVE.org