Vulnerability · Published Sep 1, 2025 · Assigned by Fluid Attacks
CVE-2025-9375xmltodict 0.14.2 - XML Injection
Medium 6.9
In plain English
A medium-severity security flaw in xmltodict from xmltodict. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-xmltodict | 0.13.0-1.1~deb12u1 | DEBIAN-CVE-2025-9375 |
| Debian:13 | python-xmltodict | 0.13.0-1.1~deb13u1 | DEBIAN-CVE-2025-9375 |
| Debian:14 | python-xmltodict | 0.13.0-1.1 | DEBIAN-CVE-2025-9375 |
| Ubuntu:24.04:LTS | python-xmltodict | 0.13.0-1ubuntu0.24.04.1 | USN-7753-1 |
| Ubuntu:24.04:LTS | python-xmltodict | 0.13.0-1ubuntu0.24.04.1 | UBUNTU-CVE-2025-9375 |
| Ubuntu:25.10 | python-xmltodict | 0.13.0-1ubuntu1 | UBUNTU-CVE-2025-9375 |
| Ubuntu:26.04:LTS | python-xmltodict | 0.13.0-1ubuntu1 | UBUNTU-CVE-2025-9375 |
Affected products (as reported)
Weakness: CWE-91 · Vector: 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
References
- https://fluidattacks.com/advisories/mono third-party-advisory
- https://github.com/martinblech/xmltodict product
- https://github.com/martinblech/xmltodict/blob/v0.15.1/CHANGELOG.md patch, release-notes
- https://github.com/martinblech/xmltodict/commit/f98c90f071228ed73df997807298e1df4f790c33 patch
- 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