XML Injection Affecting fonttools package, versions [4.33.0,4.61.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.15% (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 Learn

Learn about XML Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-FONTTOOLS-14151621
  • published12 Dec 2025
  • disclosed29 Nov 2025
  • creditNicholas Tandiono, vk-can

Introduced: 29 Nov 2025

NewCVE-2025-66034  (opens in a new tab)
CWE-91  (opens in a new tab)

How to fix?

Upgrade fonttools to version 4.61.0 or higher.

Overview

fonttools is a Tools to manipulate font files

Affected versions of this package are vulnerable to XML Injection via the main() function in the fontTools/varLib/__init__.py file. An attacker can write files to the filesystem by supplying a specially crafted .designspace file.

CVSS Base Scores

version 4.0
version 3.1