Read the docs
TI-2026-25331 Aliases CVE-2026-32870GHSA-9wfj-c55w-j9qr

Kirby has XML injection in its XML creator toolkit

Priority LOW 30CWE-91Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
—
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.

Summary

Kirby is an open-source content management system. Kirby's `Xml::value()` method has special handling for `<![CDATA[ ]]>` blocks. If the input value is already valid `CDATA`, it is not escaped a second time but allowed to pass through. However, prior to versions 4.9.0 and 5.4.0, it was possible to trick this check into allowing values that only contained a valid `CDATA` block but also contained other structured data outside of the `CDATA` block. This structured data would then also be allowed to pass through, circumventing the value protection. The `Xml::value()` method is used in `Xml::tag()`, `Xml::create()` and in the `Xml` data handler (e.g. `Data::encode($string, 'xml')`). Both the vulnerable methods and the data handler are not used in the Kirby core. However they may be used in site or plugin code, e.g. to create XML strings from input data. If those generated files are passed to another implementation that assigns specific meaning to the XML schema, manipulation of this system's behavior is possible. Kirby sites that don't use XML generation in site or plugin code are not affected. The problem has been patched in Kirby 4.9.0 and Kirby 5.4.0. In all of the mentioned releases, Kirby has added additional checks that only allow unchanged `CDATA` passthrough if the entire string is made up of valid `CDATA` blocks and no structured data. This protects all uses of the method against the described vulnerability.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00346 28th percentileScored 2026-11-07
Fix Fixed kirby (getkirby): 4.9.0, 5.4.0getkirby/cms (Packagist): 4.9.0, 5.4.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
getkirbykirbybefore 4.9.0; 5.0.0 to before 5.4.04.9.0, 5.4.0Patch availableCNA
—getkirby/cms (Packagist)before 4.9.04.9.0Patch availableGHSA-9wfj-c55w-j9qr
—getkirby/cms (Packagist)5.0.0 to before 5.4.05.4.0Patch availableGHSA-9wfj-c55w-j9qr
  • kirby Vendorgetkirby Affected before 4.9.0; 5.0.0 to before 5.4.0 Fixed in 4.9.0, 5.4.0 Patch available CNA
  • getkirby/cms (Packagist) Vendor— Affected before 4.9.0 Fixed in 4.9.0 Patch available GHSA-9wfj-c55w-j9qr
  • getkirby/cms (Packagist) Vendor— Affected 5.0.0 to before 5.4.0 Fixed in 5.4.0 Patch available GHSA-9wfj-c55w-j9qr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:*before 4.9.0; 5.0.0 to before 5.4.0Vulnerablegetkirby
  • cpe:2.3:a:getkirby:kirby:*:*:*:*:*:*:*:* Versions before 4.9.0; 5.0.0 to before 5.4.0 Vulnerable ·getkirby

Remediation

  • Fix · CNA kirby (getkirby) Fixed in 4.9.0, 5.4.0
  • Fix · GHSA-9wfj-c55w-j9qr getkirby/cms (Packagist) Fixed in 4.9.0 Advisory →
  • Fix · GHSA-9wfj-c55w-j9qr getkirby/cms (Packagist) Fixed in 5.4.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-32870
  2. 2026-10-03 Alias added: GHSA-9wfj-c55w-j9qr

References

  • TI-2024-17440 An arbitrary file upload vulnerability in the Profile Image module of Kirby CMS v4.1.0… CVSS 3.1HIGH 8.8
  • TI-2024-17439 An HTML injection vulnerability exists in the Edit Content Layout module of Kirby CMS… CVSS 3.1HIGH 7.1
  • TI-2026-23396 Kirby CMS through 5.1.4 allows an authenticated user with 'Editor' permissions to cause a… CVSS 3.1MEDIUM 6.5
  • TI-2024-17441 A stored cross-site scripting (XSS) vulnerability in the Edit Content Layout module of… CVSS 3.1MEDIUM 6.1
  • TI-2018-10413 An issue was discovered in Kirby 2.5.12. CVSS 3.1MEDIUM 5.4
  • TI-2024-17438 Kirby CMS v4.1.0 was discovered to contain a reflected self-XSS vulnerability via the URL parameter. CVSS 3.1MEDIUM 4.7
See all 40 →

Sources