We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ezvcard.util.XMLUtils
private static Document toDocument(InputSource in) throws SAXException, IOException { DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); factory.setIgnoringComments(true); DocumentBuilder builder; try { builder = factory.newDocumentBuilder(); } catch (ParserConfigurationException e) { //should never be thrown because we're not doing anything fancy with the configuration throw new RuntimeException(e); } return builder.parse(in); }
Has an XXE vulnerability - Please dsiable External xml entity processing:
References: https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Prevention_Cheat_Sheet https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Processing
The text was updated successfully, but these errors were encountered:
Thank you for reporting this, Sean. I will look into it.
Sorry, something went wrong.
Added XXE protection.
e7822b7
#55
Fixed in e7822b7.
No branches or pull requests
ezvcard.util.XMLUtils
Has an XXE vulnerability - Please dsiable External xml entity processing:
References:
https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Prevention_Cheat_Sheet
https://www.owasp.org/index.php/XML_External_Entity_%28XXE%29_Processing
The text was updated successfully, but these errors were encountered: