Live threats

All CVEs / Xwiki

CVE-2022-24898Xwiki Commons

Medium 4.9

Priority
30
CVSS 3.1
4.9
EPSS
1.2%
probability of exploitation in 30 days · percentile 68
Auth required
Yes
Published
Apr 28, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Commons.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.xwiki.commons:xwiki-commons-xml ≥ 2.7 < 12.10.10 12.10.10 —
Maven org.xwiki.commons:xwiki-commons-xml ≥ 13.0.0 < 13.4.4 13.4.4 —
Maven org.xwiki.commons:xwiki-commons-xml ≥ 13.5-rc-1 < 13.8-rc-1 13.8-rc-1 —

Per OSV / GitHub Advisories (GHSA-m2r5-4w96-qxg5). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xwikicommons≥ 2.7 < 12.10.10
xwikicommons≥ 13.0 < 13.4.4
xwikicommons≥ 13.5 < 13.8

Official sources

References

Links published by the sources. Open them with care.