CVE-2023-38490
Kirby XML External Entity (XXE) vulnerability in the XML data handler
Also known as GHSA-q386-w6fg-gmgp
Mitigation
- Upgrade getkirby/cms to one of 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 (or later in the same release line).
Who should check
- Projects that depend on Packagist package getkirby/cms (< 3.5.8.3)
- Anyone running getkirby kirby < 3.5.8.3; >= 3.6.0, < 3.6.6.3; >= 3.7.0, < 3.7.5.2; >= 3.8.0, < 3.8.41; >= 3.9.0, < 3.9.6
Vulnerability facts
- Affected
- getkirby/cms < 3.5.8.3
- Fixed in
- 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.65% chance of exploitation in 30 days (percentile 77, 2026-11-26)
- CWE
- CWE-611, CWE-776
- Modified
Description
Kirby is a content management system. A vulnerability in versions prior to 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6 only affects Kirby sites that use the `Xml` data handler (e.g. `Data::decode($string, 'xml')`) or the `Xml::parse()` method in site or plugin code. The Kirby core does not use any of the affected methods. XML External Entities (XXE) is a little used feature in the XML markup language that allows to include data from external files in an XML structure. If the name of the external file can be controlled by an attacker, this becomes a vulnerability that can be abused for various system impacts like the disclosure of internal or confidential data that is stored on the server (arbitrary file disclosure) or to perform network requests on behalf of the server (server-side request forgery, SSRF). Kirby's `Xml::parse()` method used PHP's `LIBXML_NOENT` constant, which enabled the processing of XML external entities during the parsing operation. The `Xml::parse()` method is used in the `Xml` data handler (e.g. `Data::decode($string, 'xml')`). Both the vulnerable method and the data handler are not used in the Kirby core. However they may be used in site or plugin code, e.g. to parse RSS feeds or other XML files. If those files are of an external origin (e.g. uploaded by a user or retrieved from an external URL), attackers may be able to include an external entity in the XML file that will then be processed in the parsing process. Kirby sites that don't use XML parsing in site or plugin code are *not* affected. The problem has been patched in Kirby 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, and 3.9.6. In all of the mentioned releases, the maintainers have removed the `LIBXML_NOENT` constant as processing of external entities is out of scope of the parsing logic. This protects all uses of the method against the described vulnerability.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist getkirby/cms | < 3.5.8.3 | 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 | osv |
| getkirby kirby | < 3.5.8.3; >= 3.6.0, < 3.6.6.3; >= 3.7.0, < 3.7.5.2; >= 3.8.0, < 3.8.41; >= 3.9.0, < 3.9.6 | — | 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-2023-38490. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-38490.md Affected: getkirby/cms < 3.5.8.3 Fixed in: 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 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
Vendor advisories
Other
- https://github.com/getkirby/kirby/releases/tag/3.5.8.3
- https://github.com/getkirby/kirby/releases/tag/3.6.6.3
- https://github.com/getkirby/kirby/releases/tag/3.7.5.2
- https://github.com/getkirby/kirby/releases/tag/3.8.4.1
- https://github.com/getkirby/kirby/releases/tag/3.9.6
- https://github.com/getkirby/kirby
FAQ
Is CVE-2023-38490 being exploited?
There is no confirmed exploitation: CVE-2023-38490 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.65% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-38490?
Medium: CVSS 6.8 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2023-38490?
getkirby/cms < 3.5.8.3.
Is there a fix for CVE-2023-38490?
Yes. Fixed in 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6. Upgrade getkirby/cms to one of 3.5.8.3, 3.6.6.3, 3.7.5.2, 3.8.4.1, 3.9.6 (or later in the same release line).
How do I check if I'm affected by CVE-2023-38490?
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.