Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Missing XML Validation #39

Open
QiAnXinCodeSafe opened this issue Jan 21, 2020 · 0 comments
Open

Missing XML Validation #39

QiAnXinCodeSafe opened this issue Jan 21, 2020 · 0 comments

Comments

@QiAnXinCodeSafe
Copy link

return domFactory.newDocumentBuilder().parse(IOUtils.toInputStream(xml, "utf-8"));

Failure to enable validation when parsing XML gives an attacker the opportunity to supply malicious input.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant