XML Injection Affecting python-xmltodict package, versions <0.13.0-1ubuntu1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.45% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2510-PYTHONXMLTODICT-15742542
  • published21 Mar 2026
  • disclosed1 Sept 2025

Introduced: 1 Sep 2025

CVE-2025-9375  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade Ubuntu:25.10 python-xmltodict to version 0.13.0-1ubuntu1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-xmltodict package and not the python-xmltodict package as distributed by Ubuntu. See How to fix? for Ubuntu:25.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1