CVE-2026-32870: Kirby - XML Injection
- Cve: CVE-2026-32870
- Name: Kirby - XML Injection
- Description: 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.
- Impact: Attackers can manipulate XML generation, potentially altering system behavior or data interpretation in downstream XML consumers.
- Remediation: Update to Kirby 4.9.0 or 5.4.0 or later.
- Vulnerability type: xml_external_entity_injection
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00359
- Epss percentile: 0.30053
- Assignee: [email protected]
- Published at: 2026-04-24T01:16:11Z
- Age in days: 214
- Modified at: 2026-10-26T22:10:00Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-32870
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-91 | XML Injection |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/getkirby/kirby/security/advisories/GHSA-9wfj-c55w-j9qr | Patch, Vendor Advisory |
| https://github.com/getkirby/kirby/releases/tag/4.9.0 | Release Notes |
| https://github.com/getkirby/kirby/releases/tag/5.4.0 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| getkirby:kirby | >= 5.0.0, < 5.4.0; < 4.9.0 | no | nvd | /v1/products/getkirby/kirby |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| getkirby/kirby | package, releases, security_advisory | yes | /v1/repositories/getkirby/kirby |
Index
- Repositories: 3
- Repositories high signal: 1
- Checked, none or zero: packages
Exploitation
- Remote: yes
- Exposed hosts: 88
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports