CVE-2022-24898

Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml

State
Published
Severity
4.9 Medium
Published
Apr 28, 2022
Updated
Apr 22, 2025
Reserved
Feb 10, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:NGitHub_M

Weaknesses

  • CWE-611 Improper Restriction of XML External Entity Reference

Affected Products

ProductVersions
xwiki-commonsxwiki
  • >= 2.7, < 12.10.10Affected
  • >= 13.0, < 13.4.4Affected
  • >= 13.5-rc-1, <= 13.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.