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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| xmltodict | xmltodict | 0.14.2 – < 0.15.1 | 0.15.1 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-xmltodict | 0.13.0-1.1 | — |
| Debian 13 | python-xmltodict | 0.13.0-1.1~deb13u1 | — |
| Debian 12 | python-xmltodict | 0.13.0-1.1~deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | python-xmltodict | 0.13.0-1ubuntu1 | — |
| Ubuntu 25.10 | python-xmltodict | 0.13.0-1ubuntu1 | — |
| Ubuntu 24.04 LTS | python-xmltodict | 0.13.0-1ubuntu0.24.04.1 | USN-7753-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | python-xmltodict | 0.12.0-2ubuntu0.1~esm1 | USN-7753-1 |
| Ubuntu Pro 20.04 LTS | python-xmltodict | 0.12.0-1ubuntu0.1~esm1 | USN-7753-1 |
| Ubuntu Pro 18.04 LTS | python-xmltodict | 0.11.0-1ubuntu0.1~esm1 | USN-7753-1 |
| Ubuntu Pro 16.04 LTS | python-xmltodict | 0.9.2-3ubuntu0.1~esm1 | USN-7753-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | python-xmltodict | 0.13.0-150600.3.5.1 | SUSE-SU-2025:03511-1 |
| SLES 15 SP6 | python-xmltodict | 0.13.0-150600.3.5.1 | SUSE-SU-2025:03511-1 |
| SLES 15 SP5 | python-xmltodict | 0.13.0-150400.12.7.1 | SUSE-SU-2025:03457-1 |
| SLES 15 SP4 | python-xmltodict | 0.13.0-150400.12.7.1 | SUSE-SU-2025:03457-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-xmltodict | 0.15.1-1.1 | openSUSE-SU-2025:15539-1 |
| openSUSE Leap 15.6 | python-xmltodict | 0.13.0-150600.3.5.1 | SUSE-SU-2025:03511-1 |
Advisories 4
- USN-7753-1 python-xmltodict vulnerability Ubuntu Security Notices (USN) · Jun 25, 2026
- openSUSE-SU-2025:15539-1 python311-xmltodict-0.15.1-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03457-1 Security update for python-xmltodict SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03511-1 Security update for python-xmltodict SUSE / openSUSE Security Updates · Feb 4, 2026