Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-32870

MEDIUM 6.9EPSS 34%

Kirby has XML injection in its XML creator toolkit

Also known as GHSA-9wfj-c55w-j9qr

Mitigation

  • Upgrade getkirby/cms to one of 4.9.0, 5.4.0 (or later in the same release line).

Who should check

  • Projects that depend on Packagist package getkirby/cms (< 4.9.0)
  • Anyone running getkirby kirby < 4.9.0; >= 5.0.0, < 5.4.0

Vulnerability facts

Affected
getkirby/cms < 4.9.0
Fixed in
4.9.0, 5.4.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.9 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:H/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: High
  • Availability impact on other systems: None
EPSS
0.48% chance of exploitation in 30 days (percentile 34, 2026-11-26)
CWE
CWE-91
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Packagist getkirby/cms< 4.9.04.9.0, 5.4.0osv
getkirby kirby< 4.9.0; >= 5.0.0, < 5.4.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-32870. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-32870.md
Affected: getkirby/cms < 4.9.0
Fixed in: 4.9.0, 5.4.0

Steps:
1. Search this machine and project for getkirby/cms (Packagist), getkirby kirby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-32870 being exploited?

There is no confirmed exploitation: CVE-2026-32870 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-32870?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-32870?

getkirby/cms < 4.9.0.

Is there a fix for CVE-2026-32870?

Yes. Fixed in 4.9.0, 5.4.0. Upgrade getkirby/cms to one of 4.9.0, 5.4.0 (or later in the same release line).

How do I check if I'm affected by CVE-2026-32870?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors