Skip to content

Conversation

@k-sever
Copy link

@k-sever k-sever commented Jan 5, 2022

Fixes #462

Comment on lines +254 to +256
reader.setFeature("http://xml.org/sax/features/external-general-entities", false);
reader.setFeature("http://xml.org/sax/features/external-parameter-entities", false);
reader.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Agitolyev
Copy link

Hi, is there a plan to merge this PR?

@ar
Copy link
Member

ar commented Apr 8, 2022

This PR needs a way to revert, via configuration, to the old behavior, just in case there's an use-case for entity expansion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

XXE vulnerability in GenericPackager

3 participants