CVE-2025-9375
xmltodict 0.14.2 - XML Injection
- State
- Published
- Severity
- 6.9 Medium
- Published
- Sep 1, 2025
- Updated
- Apr 20, 2026
- Reserved
- Aug 22, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N | Fluid Attacks |
Weaknesses
- CWE-91 XML Injection (aka Blind XPath Injection)
Affected Products
| Product | Versions |
|---|---|
xmltodictxmltodict |
|
References
- https://fluidattacks.com/advisories/monothird-party-advisory
- https://github.com/martinblech/xmltodictproduct
- https://github.com/martinblech/xmltodict/blob/v0.15.1/CHANGELOG.mdpatchrelease-notes
- https://github.com/martinblech/xmltodict/commit/f98c90f071228ed73df997807298e1df4f790c33patch
- https://github.com/martinblech/xmltodict/issues/377#issuecomment-3255691923
- https://docs.python.org/3/library/xml.sax.utils.html#xml.sax.saxutils.escape
- https://docs.python.org/3/library/xml.sax.utils.html#xml.sax.saxutils.XMLGenerator
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.