Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

martinblech/xmltodict
master @ 966b903
8
Fixes
1
CVEs
HIGH
Peak severity
Highlights
XML Injection: 4 prior fixes. Scrutinize any change in this area.
xmltodict.py: most-fixed (8 issues). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

XML External Entity (XXE): Insecure default parser configuration and failure to resolve the correct defusedexpat dependencies allowed remote attackers to trigger external entity resolution or XML entity expansion (XML bombs).
XML Injection: The unparse serialization workflow failed to properly sanitize element tags, attributes, and comments, allowing attackers to inject raw XML markup and modify structure via dictionary keys.