Skip to content

Conversation

@elliotwutingfeng
Copy link

Changes

Switch from xml.sax.parse to defusedxml.sax.parse to protect against XML vulnerabilities (XXE, billion laughs, etc.).

@asottile
Copy link
Member

this has been suggested before however it's not relevant as you're running against checked in source not arbitrary user data so the "vulnerabilities" aren't relevant

@asottile asottile closed this Dec 31, 2025
@elliotwutingfeng elliotwutingfeng deleted the xml branch December 31, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants