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

- Severity: High 8.5 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 39% of CVEs (2026-11-30)
- Published: 2026-06-18T15:04:52.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-wr9h-4r83-f4v6
- Weaknesses: CWE-79, CWE-87
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- getkirby kirby: < 4.9.4; >= 5.0.0, < 5.4.4
- getkirby/cms (Packagist): before 4.9.4; from 5.0.0-alpha.1 before 5.4.4

## Every score

- GitHub_M: CVSS:4.0 8.5 High `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`
- GitHub: CVSS:4.0 High `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> (web)
- <https://github.com/getkirby/kirby/commit/0f0437b5128c910103cbc78fc34d94b2a3faef4c>
- <https://github.com/getkirby/kirby/commit/7ad76cf9c7387462828e6ebfc8404e31b37829e9>
- <https://github.com/getkirby/kirby/commit/9ec1873864441dbc06479ef7823da348ec7f2700>
- <https://github.com/getkirby/kirby/commit/bb2562e16c754493a403b8df84c9883108871e4c>
- <https://github.com/getkirby/kirby/releases/tag/4.9.4> (web)
- <https://github.com/getkirby/kirby/releases/tag/5.4.4> (web)
- <https://github.com/getkirby/kirby> (package)

## Sources

- CVE List: [CVE-2026-54002](https://www.cve.org/CVERecord?id=CVE-2026-54002), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-wr9h-4r83-f4v6](https://github.com/advisories/GHSA-wr9h-4r83-f4v6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54002](https://nvd.nist.gov/vuln/detail/CVE-2026-54002), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-54002 · Whole record: https://cve.day/CVE-2026-54002.json · Rebuilt by cve.day 2026-11-25T22:59:27.539Z
