Skip to content

Commit c42e211

Browse files
committed
Fix Snyk CWE-611: Insecure Xml Parser (XXE/DDoS)
Use defusedxml.ElementTree instead of xml.etree.ElementTree in Scripts/generate_html_report.py and Scripts/generate_enhanced_html_report.py, and add Scripts/requirements.txt with defusedxml>=0.7.0.
1 parent 049e8ef commit c42e211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Scripts/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Secure XML parsing (fixes Snyk CWE-611 Insecure Xml Parser / XXE)
2-
defusedxml>=0.7.0
2+
defusedxml>=0.7.1

0 commit comments

Comments
 (0)