title: 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.
problem types: CWE-611: Improper Restriction of XML External Entity Reference
affected:
{
product: xwiki-commons
vendor: xwiki
versions:
status: affected, version: >= 2.7, < 12.10.10
status: affected, version: >= 13.0, < 13.4.4
status: affected, version: >= 13.5-rc-1, <= 13.7
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 4.9
baseSeverity: MEDIUM
confidentialityImpact: HIGH
integrityImpact: NONE
privilegesRequired: HIGH
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
version: 3.1
]