Skip to content
New issue

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

feat: adds safe XML parsing #928

Merged
merged 5 commits into from
May 2, 2023
Merged

feat: adds safe XML parsing #928

merged 5 commits into from
May 2, 2023

Conversation

diegomarquezp
Copy link
Contributor

This change improves XML parsing safety by preventing DOCTYPE declarations.

Copy link
Member

@meltsufin meltsufin left a comment

Choose a reason for hiding this comment

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

Thanks for a quick turnaround!

@diegomarquezp diegomarquezp merged commit a0dca75 into master May 2, 2023
7 checks passed
@diegomarquezp diegomarquezp deleted the xxe-prevention branch May 2, 2023 21:55
JoeWang1127 pushed a commit that referenced this pull request Nov 29, 2023
* chore: add xxe prevention logic to parser

* chore: test unsave vs safe parsing of doctype

* chore: use unsafe constructor in test

* chore: cleanup of IDE files

* chore: fmt:format
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.

None yet

3 participants