WaratekVRT Sign in

CVE-2022-24898 xwiki commons

Affected softwarexwiki commons
Severity4.9 Medium CVSS 3.1 3 scores
Fixed in12.10.10, 13.4.4, 13.8-rc-1
WeaknessXML external entity (XXE) (CWE-611)
Published28 Apr 2022
Updated17 Jun 2026

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 1.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5 : a commit: the change itself

How to mitigate CVE-2022-24898

Upgrade xwiki commons to a release that fixes it: 12.10.10, 13.4.4 or 13.8-rc-1. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

4.9 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
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 security-advisories@github.com Secondary published
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 Primary
CVSS 2.0 4.0 none AV:N/AC:L/Au:S/C:P/I:N/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.xwiki.commons:xwiki-commons-xml 2.7 12.10.10 unbounded
org.xwiki.commons:xwiki-commons-xml 13.0.0 13.4.4 unbounded
org.xwiki.commons:xwiki-commons-xml 13.5-rc-1 13.8-rc-1 unbounded

Products and versions

2 products, 6 version entries
SourceVendorProductSchemeAffected versions
osv org.xwiki.commons xwiki-commons-xml generic ≥ 2.7 and < 12.10.10 · ≥ 13.0.0 and < 13.4.4 · ≥ 13.5 and < 13.8
nvd xwiki commons generic ≥ 2.7 and < 12.10.10 · ≥ 13.0 and < 13.4.4 · ≥ 13.5 and < 13.8

References

URLTags
https://github.com/xwiki/xwiki-commons/commit/947e8921ebd95462d5a7928f397dd1b64f77c7d5 commit
https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-m2r5-4w96-qxg5 WEB
https://github.com/xwiki/xwiki-commons PACKAGE
https://jira.xwiki.org/browse/XWIKI-18946 WEB

Timeline

Published2022-04-28By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.