Skip to content
OpenAdvisories
Medium · 4.9 CVE-2022-24898 EUVD-2022-1778GHSA-m2r5-4w96-qxg5

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

Published Apr 28, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
xwiki xwiki-commons >= 2.7, < 12.10.10, >= 13.0, < 13.4.4, >= 13.5-rc-1, <= 13.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.commons:xwiki-commons-xml >= 2.7, < 12.10.10 12.10.10 GHSA-m2r5-4w96-qxg5
Maven org.xwiki.commons:xwiki-commons-xml >= 13.0.0, < 13.4.4 13.4.4 GHSA-m2r5-4w96-qxg5
Maven org.xwiki.commons:xwiki-commons-xml >= 13.5-rc-1, < 13.8-rc-1 13.8-rc-1 GHSA-m2r5-4w96-qxg5

References