Skip to content

Files

Latest commit

 

History

History
12 lines (7 loc) · 517 Bytes

B407.md

File metadata and controls

12 lines (7 loc) · 517 Bytes

Pattern: Import of xml.dom.expatbuilder module

Issue: -

Description

Using various methods to parse untrusted XML data is known to be vulnerable to XML attacks. Replace vulnerable imports with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.

Further Reading