PT-2026-50723 · Packagist+2 · Getkirby/Cms+1

CVE-2026-54002

·

Published

2026-06-18

·

Updated

2026-07-09

CVSS v4.0

8.5

High

VectorAV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Kirby versions prior to 4.9.4 Kirby versions prior to 5.4.4
Description Kirby sites and plugins that process untrusted input using the writer or list fields, or specific sanitization methods, are subject to stored cross-site scripting (XSS). XSS is a vulnerability that allows the execution of JavaScript code within the site frontend or the Panel session of users. In a stored XSS attack, the malicious payload is saved into the content data, potentially allowing a lower-privileged authenticated user to execute scripts in the context of higher-privileged users, such as administrators.
The issue occurs because the Dom::sanitize() function fails to sanitize nodes that have been unwrapped from their parent node. When malicious markup is injected as children of an unknown HTML or XML tag, these child nodes are copied into the resulting document without being correctly sanitized. This affects the following components and methods:
  • API Endpoints: writer and list fields
  • Function Names: Dom::sanitize(), Sane::sanitize(), SaneHtml::sanitize(), SaneSvg::sanitize(), SaneXml::sanitize(), Sane::sanitizeFile(), and sanitizeContents()
Recommendations Update Kirby to version 4.9.4 or later. Update Kirby to version 5.4.4 or later. Review existing content in writer and list fields or re-sanitize all content of affected fields to remove any malicious markup stored prior to the patch.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-54002
GHSA-WR9H-4R83-F4V6

Affected Products

Getkirby/Cms
Kirby