XML Injection Affecting getkirby/cms package, versions <4.9.0>=5.0.0-alpha.1, <5.4.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (14th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-GETKIRBYCMS-16301560
  • published27 Apr 2026
  • disclosed24 Apr 2026
  • creditdapatrese

Introduced: 24 Apr 2026

NewCVE-2026-32870  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade getkirby/cms to version 4.9.0, 5.4.0 or higher.

Overview

Affected versions of this package are vulnerable to XML Injection via the value() function in src/Toolkit/Xml.php. An attacker can smuggle raw XML markup into generated output by supplying a string that begins with <![CDATA[ but also contains additional text or tags outside a single well-formed CDATA block. This lets attacker-controlled content break out of the intended text node and alter the structure of XML documents produced by the application, leading to malformed output or injected elements in downstream consumers.

CVSS Base Scores

version 4.0
version 3.1