A5:2021 | Security Misconfiguration (12) | Cycubix Docs
XXE mitigation
XMLInputFactory xif = XMLInputFactory.newFactory();
xif.setProperty(XMLInputFactory.SUPPORT_DTD, false);XMLInputFactory xif = XMLInputFactory.newFactory();
xif.setProperty(XMLInputFactory.IS_SUPPORTING_EXTERNAL_ENTITIES, false);
xif.setProperty(XMLInputFactory.SUPPORT_DTD, true);Validate
PreviousA5:2021 | Security Misconfiguration (11) | Cycubix DocsNextA5:2021 | Security Misconfiguration (13) | Cycubix Docs
Last updated
Was this helpful?

