Intel

AIKIDO-2026-709565

fonttools is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Today

59

Medium Risk

This Affects:

PYTHONfonttools
4.46.0 - 4.64.0
Fixed in 4.65.0
Are you affected? Scan for Free

TL;DR

The fontTools.varLib.interpolatable HTML report embeds glyph names directly into the generated HTML document. Glyph names read from an input font are written into <h1> headings without escaping, so a font whose glyph names contain HTML or script markup injects that markup into the report. Opening the report in a browser then renders the injected markup. The fix escapes glyph names with html.escape before writing them into the report.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you generate an interpolatable HTML report from untrusted fonts and open that report in a browser.

Background info

fonttools is vulnerable to Cross-Site Scripting (XSS) in versions 4.46.0 - 4.64.0.

How to fix this

Upgrade the fonttools library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform