Loading advisory.
Loading advisory.
Arbitrary file access through XML parsing in org.xwiki.commons:xwiki-commons-xml
It's possible in a script to access any file accessing to the user running XWiki application server with XML External Entity Injection through the XML script service.
Published 2022-04-28 19:31 UTC · Modified 2025-04-22 18:02 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| org.xwiki.commons:xwiki-commons-xml | Maven | >= 2.7, < 12.10.10 >= 13.0.0, < 13.4.4 >= 13.5-rc-1, < 13.8-rc-1 versions 10.0, 10.1, 10.1-rc-1, 10.10, 10.10-rc-1, 10.11, 10.11-rc-1, 10.11.1, 10.11.10, 10.11.11, 10.11.2, 10.11.3, 10.11.4, 10.11.5, 10.11.6, 10.11.7, 10.11.8, 10.11.9, 10.2, 10.3 and 329 more | 12.10.10, 13.4.4, 13.8-rc-1 | No single command for Maven. Update to 12.10.10, 13.4.4, 13.8-rc-1 in your build file. |
It's possible in a script to access any file accessing to the user running XWiki application server with XML External Entity Injection through the XML script service.
For example:
{{velocity}}
#set($xml=$services.get('xml'))
#set($xxe_payload = "<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE root[<!ENTITY xxe SYSTEM 'file:///etc/passwd' >]><root><foo>&xxe;</foo></root>")
#set($doc=$xml.parse($xxe_payload))
$xml.serialize($doc)
{{/velocity}}The problem has been patched on versions 12.10.10, 13.4.4 and 13.8RC1.
There's no easy workaround for fixing this vulnerability other than upgrading and being careful when giving Script rights.
https://jira.xwiki.org/browse/XWIKI-18946
If you have any questions or comments about this advisory:
Open an issue in Jira XWiki
Email us at XWiki Security mailing-list
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.015 on 2026-11-24 to 0.012 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.015 | first score | v2026.06.15 |
| 2026-11-26 | 0.012 | 0.015 | v2026.06.15 |