What’s Vulnerable › Vulnerabilities
CVE-2025-9375: xmltodict 0.14.2 - XML Injection
- Severity: medium (CVSS 6.9 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-01 · updated 2026-10-19
- Weakness: CWE-91
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.
Affected products
- xmltodict: from 0.14.2 before 0.15.1 — fixed in 0.15.1
How to fix
Upgrade to a fixed version: xmltodict 0.15.1. Check the vendor advisory for mitigations.
References
- https://fluidattacks.com/advisories/mono
- https://github.com/martinblech/xmltodict
- https://github.com/martinblech/xmltodict/blob/v0.15.1/CHANGELOG.md
- https://github.com/martinblech/xmltodict/commit/f98c90f071228ed73df997807298e1df4f790c33
- https://docs.python.org/3/library/xml.sax.utils.html#xml.sax.saxutils.XMLGenerator
- https://docs.python.org/3/library/xml.sax.utils.html#xml.sax.saxutils.escape
- https://github.com/martinblech/xmltodict/issues/377#issuecomment-3255691923
Get alerted when CVE-2025-9375 or the next vulnerability affects your stack