Intel

AIKIDO-2026-748505

fonttools is vulnerable to XML Injection

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 9, 2026
October 9, 2026

30

CVE Score

Low

XML Injection

Are you affected? Scan for Free

TL;DR

fontTools.varLib.avar.unbuild writes an avar table's axis mapping into generated DesignSpace/UFO XML without escaping the font's axis names or tags. A crafted font with axis names or tags that contain XML metacharacters breaks the structure of the generated XML or injects unexpected markup into it. The fix escapes axis names and tags before writing them into the output XML.

How do I fix this?

Upgrade the fonttools library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you convert a variable font's avar table into DesignSpace/UFO XML output.

Package

Versions

1.0.0 - 4.65.0

Fixed in 4.66.0

Background info

fonttools is vulnerable to XML Injection in versions 1.0.0 - 4.65.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea