In oxTrust we also have XML parsing in Saml and in SCIM. We need to do:
1) Use XmlService.getXmlDocument() instead of DocumentBuilderFactory.newInstance().newDocumentBuilder().parse...
XmlService.getXmlDocument() contains XXE fix.
2) Check if all places after applying this replace works fine.
We fixed simular issue in oxSaml/oxService: https://github.com/GluuFederation/oxCore/issues/7
In oxTrust we also have XML parsing in Saml and in SCIM. We need to do: 1) Use XmlService.getXmlDocument() instead of DocumentBuilderFactory.newInstance().newDocumentBuilder().parse... XmlService.getXmlDocument() contains XXE fix. 2) Check if all places after applying this replace works fine.