fossasia / open-event-server

Import of method(s) from xml.etree detected BAN-B405
Security
Minor
5 months ago4 years old
Using Element to parse untrusted XML data is known to be vulnerable to XML attacks. Replace Element with the equivalent defusedxml package, or make sure defusedxml.defuse_stdlib() is called.
 1from xml.etree.ElementTree import Element, SubElement, tostring 2
 3from flask import url_for
 4from sqlalchemy import asc