martinblech / xmltodict

Python module that makes working with XML feel like you are working with JSON
MIT License
5.46k stars 465 forks source link

Remove defusedexpat import. #324

Closed hannob closed 4 months ago

hannob commented 1 year ago

In the past defusedexpat would protect against certain classes of XML attacks, but defusedexpat is no longer maintained.

A followup project defusedxml exists, but it is no longer needed. The types of vulnerabilities that defusedexpat/defusedxml prevented are already mitigated by fixes within expat itself and newer python versions. See discussion in issue #321 for details.