# CVE-2022-24898: Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml

- Severity: Medium 4.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.49%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-28T19:31:55.000Z
- Modified: 2026-06-17T04:32:45.500Z
- Also known as: GHSA-m2r5-4w96-qxg5
- Weaknesses: CWE-611
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- xwiki xwiki-commons: >= 2.7, < 12.10.10; >= 13.0, < 13.4.4; >= 13.5-rc-1, <= 13.7
- org.xwiki.commons:xwiki-commons-xml (Maven): from 2.7 before 12.10.10; from 13.0.0 before 13.4.4; from 13.5-rc-1 before 13.8-rc-1
- xwiki commons: from 2.7 before 12.10.10; from 13.0 before 13.4.4; from 13.5 before 13.8

## Every score

- GitHub_M: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 4.9 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://jira.xwiki.org/browse/XWIKI-18946> (exploit, vendor-advisory, web)
- <https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m2r5-4w96-qxg5> (third-party-advisory, web)
- <https://github.com/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24898> (advisory)
- <https://github.com/xwiki/xwiki-commons> (package)

## Sources

- CVE List: [CVE-2022-24898](https://www.cve.org/CVERecord?id=CVE-2022-24898), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-m2r5-4w96-qxg5](https://github.com/advisories/GHSA-m2r5-4w96-qxg5), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-24898](https://nvd.nist.gov/vuln/detail/CVE-2022-24898), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24898 · Whole record: https://cve.day/CVE-2022-24898.json · Rebuilt by cve.day 2026-11-25T22:58:11.297Z
