OK, so the defusedxml.lxml submodule is deprecated and one should use the other APIs from defusedxml instead. That does not mean that defusedxml in it's entirety would be useless.
If you’re trying to use it for lxml then yes, it was only ever experimental and has been deprecated (it also failed to define some interfaces correctly causing issues).
slau|1 year ago
> defusedxml.lxml is no longer needed and supported. Nowadays libxml2 has builtin limitation for entity expansion.
https://github.com/tiran/defusedxml/issues/25#issuecomment-4...
masklinn|1 year ago
See https://lxml.de/FAQ.html#is-lxml-vulnerable-to-xml-bombs for more about the tuning knobs.
metafunctor|1 year ago
JonChesterfield|1 year ago
masklinn|1 year ago
If you’re using it over the stdlib then no.