CVE-2022-24898
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.
Severity
MEDIUM
CVSS v3
4.9
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
1.485%
chance of exploitation in the next 30 days
higher than 74.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-611: Improper Restriction of XML External Entity Reference
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2025-04-22 |
Timeline
- 2022-04-28Published by the CNA19:35 UTC
- 2022-04-28GitHub advisory published (GHSA-m2r5-4w96-qxg5)same day
- 2025-04-22CISA SSVC decision recorded1090 days after publication
Exploit and advisory records
GitHub advisory GHSA-m2r5-4w96-qxg5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.xwiki.commons:xwiki-commons-xml | from 13.0.0 before 13.4.4 | 13.4.4 |
| Maven org.xwiki.commons:xwiki-commons-xml | from 13.5-rc-1 before 13.8-rc-1 | 13.8-rc-1 |
| Maven org.xwiki.commons:xwiki-commons-xml | from 2.7 before 12.10.10 | 12.10.10 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xwiki commons | from 2.7 before 12.10.10fixed in 12.10.10from 13.0 before 13.4.4fixed in 13.4.4from 13.5 before 13.8fixed in 13.8 | 12.10.1013.4.413.8 |
References
- https://github.com/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5
- https://jira.xwiki.org/browse/XWIKI-18946
- https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m2r5-4w96-qxg5
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-24898'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-24898'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-24898'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-24898'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).