XPath Injection in Xmltodict
CVE-2025-9375
XML Injection vulnerability in xmltodict allows Input Data Manipulation.
This issue affects xmltodict: from 0.14.2 before 0.15.1.
NOTE: the scope of this CVE is disputed by the vendor on the grounds that xmltodict.unparse() delegates element-name handling to Python's xml.sax.saxutils.XMLGenerator, and that XMLGenerator should be the component performing validation.
Published · last modified .
EPSS exploit prediction
EPSS 0.005, 40.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Xmltodict — versions 0.14.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 4 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, martinblech/xmltodict, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- fluidattacks.com/advisories/mono (third-party-advisory)
- github.com/martinblech/xmltodict (product)
- github.com/martinblech/xmltodict/blob/v0.15.1/CHANGELOG.md (release-notes, patch)
- github.com/martinblech/xmltodict/commit/f98c90f071228ed73df997807298e1df4f790c33 (patch)
- docs.python.org/3/library/xml.sax.utils.html
- docs.python.org/3/library/xml.sax.utils.html
- github.com/martinblech/xmltodict/issues/377