CVE-2022-24898
Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml
Also known as GHSA-m2r5-4w96-qxg5
Mitigation
- Upgrade org.xwiki.commons:xwiki-commons-xml to one of 12.10.10, 13.4.4, 13.8-rc-1 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.xwiki.commons:xwiki-commons-xml (>= 2.7, < 12.10.10)
- Anyone running xwiki-commons >= 2.7, < 12.10.10; >= 13.0, < 13.4.4; >= 13.5-rc-1, <= 13.7
Vulnerability facts
- Affected
- org.xwiki.commons:xwiki-commons-xml >= 2.7, < 12.10.10
- Fixed in
- 12.10.10, 13.4.4, 13.8-rc-1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 4.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: High
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- EPSS
- 1.18% chance of exploitation in 30 days (percentile 68, 2026-11-26)
- CWE
- CWE-611
- Modified
Description
org.xwiki.commons:xwiki-commons-xml is a common module used by other XWiki top level projects. Starting in version 2.7 and prior to versions 12.10.10, 13.4.4, and 13.8-rc-1, it is possible for a script to access any file accessing to the user running XWiki application server with XML External Entity Injection through the XML script service. The problem has been patched in versions 12.10.10, 13.4.4, and 13.8-rc-1. There is no easy workaround for fixing this vulnerability other than upgrading and being careful when giving Script rights.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.xwiki.commons:xwiki-commons-xml | >= 2.7, < 12.10.10 | 12.10.10, 13.4.4, 13.8-rc-1 | osv |
| xwiki-commons | >= 2.7, < 12.10.10; >= 13.0, < 13.4.4; >= 13.5-rc-1, <= 13.7 | — | 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-2022-24898. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-24898.md Affected: org.xwiki.commons:xwiki-commons-xml >= 2.7, < 12.10.10 Fixed in: 12.10.10, 13.4.4, 13.8-rc-1 Steps: 1. Search this machine and project for org.xwiki.commons:xwiki-commons-xml (Maven), xwiki-commons: 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
Exploits and PoCs
FAQ
Is CVE-2022-24898 being exploited?
There is no confirmed exploitation: CVE-2022-24898 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-24898?
Medium: CVSS 4.9 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2022-24898?
org.xwiki.commons:xwiki-commons-xml >= 2.7, < 12.10.10.
Is there a fix for CVE-2022-24898?
Yes. Fixed in 12.10.10, 13.4.4, 13.8-rc-1. Upgrade org.xwiki.commons:xwiki-commons-xml to one of 12.10.10, 13.4.4, 13.8-rc-1 (or later in the same release line).
How do I check if I'm affected by CVE-2022-24898?
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.