CVE-2022-24898
MEDIUM 4.9CVSS 3.1Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml
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.
- Published
- 28 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-611
- Also known as
- GHSA-m2r5-4w96-qxg5
- Sources
- NVDJSONOSV GHSA-m2r5-4w96-qxg5JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xwiki | commonscpe:2.3:a:xwiki:commons:*:*:*:*:*:*:*:* |
>= 2.7, < 12.10.10 | 12.10.10 |
| NVD | xwiki | commonscpe:2.3:a:xwiki:commons:*:*:*:*:*:*:*:* |
>= 13.0, < 13.4.4 | 13.4.4 |
| NVD | xwiki | commonscpe:2.3:a:xwiki:commons:*:*:*:*:*:*:*:* |
>= 13.5, < 13.8 | 13.8 |
| OSV | Maven | org.xwiki.commons:xwiki-commons-xml | >= 2.7, < 12.10.10 | 12.10.10 |
| OSV | Maven | org.xwiki.commons:xwiki-commons-xml | >= 13.0.0, < 13.4.4 | 13.4.4 |
| OSV | Maven | org.xwiki.commons:xwiki-commons-xml | >= 13.5-rc-1, < 13.8-rc-1 | 13.8-rc-1 |
References
- https://github.com/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5 · Patch, Third Party Advisory, WEB
- https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m2r5-4w96-qxg5 · Third Party Advisory, WEB
- https://jira.xwiki.org/browse/XWIKI-18946 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-24898 · ADVISORY
- https://github.com/xwiki/xwiki-commons · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 28 Apr 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Apr 2022)