CVE-2022-24898 json
Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml
published 4y ago modified 4mo ago also GHSA-m2r5-4w96-qxg5 , EUVD-2022-1778
- cvss
- 4.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.xwiki.commons:xwiki-commons-xml 12.10.10, 13.4.4, 13.8-rc-1
- xwiki commons 12.10.10, 13.4.4, 13.8
Is CVE-2022-24898 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
1.49% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- jira.xwiki.org https://jira.xwiki.org/browse/XWIKI-18946 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
| GitHub | 3.1 | 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.xwiki.commons:xwiki-commons-xml | >=2.7, <12.10.10 >=13.0.0, <13.4.4 >=13.5-rc-1, <13.8-rc-1 |
12.10.10 13.4.4 13.8-rc-1 |
Affected products
- xwiki xwiki-commons
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5
web, patch, third-party-advisory
-
jira.xwiki.org
/browse/XWIKI-18946
web, exploit, vendor-advisory
-
github.com
/xwiki/xwiki-commons/security/advisories/GHSA-m2r5-4w96-qxg5
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24898
advisory
-
github.com
/xwiki/xwiki-commons
package
Sources
- CVE List CVE-2022-24898
- GitHub Advisory GHSA-m2r5-4w96-qxg5
- NVD CVE-2022-24898
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.