What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: xwiki Commons 12.10.10, 13.4.4, 13.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-24898 or the next vulnerability affects your stack