FICHA · MANJARO

python-defusedxml

XML bomb protection for Python stdlib modules

  • Library
  • Dev
  • SECURITY
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Parse XML more safely by protecting Python standard-library XML modules from common denial-of-service patterns such as entity expansion bombs. It helps applications handle XML from outside sources with fewer dangerous defaults.

This is a security-focused developer library, not a complete XML firewall. Applications should still limit input size, validate schemas when needed, and avoid trusting XML data from unknown sources.

Permissions

Permissions not analysed for this source yet.