CVE-2022-24898

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.

Severity
MEDIUM
CVSS v3
4.9
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N · source cna
Exploit chance (EPSS)
1.485%
chance of exploitation in the next 30 days
higher than 74.5% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2025-04-22

Timeline

  1. 2022-04-28Published by the CNA19:35 UTC
  2. 2022-04-28GitHub advisory published (GHSA-m2r5-4w96-qxg5)same day
  3. 2025-04-22CISA SSVC decision recorded1090 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-m2r5-4w96-qxg5, affected packages:

PackageVulnerable versionsFixed in
Maven org.xwiki.commons:xwiki-commons-xmlfrom 13.0.0 before 13.4.413.4.4
Maven org.xwiki.commons:xwiki-commons-xmlfrom 13.5-rc-1 before 13.8-rc-113.8-rc-1
Maven org.xwiki.commons:xwiki-commons-xmlfrom 2.7 before 12.10.1012.10.10

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
xwiki commonsfrom 2.7 before 12.10.10fixed in 12.10.10from 13.0 before 13.4.4fixed in 13.4.4from 13.5 before 13.8fixed in 13.812.10.1013.4.413.8

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources