What’s Vulnerable › Vulnerabilities

CVE-2023-45139: fonttools XML External Entity Injection (XXE) Vulnerability

Description

fontTools is a library for manipulating fonts, written in Python. The subsetting module has a XML External Entity Injection (XXE) vulnerability which allows an attacker to resolve arbitrary entities when a candidate font (OT-SVG fonts), which contains a SVG table, is parsed. This allows attackers to include arbitrary files from the filesystem fontTools is running on or make web requests from the host system. This vulnerability has been patched in version 4.43.0.

Affected products

How to fix

Upgrade to a fixed version: fonttools 4.43.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-45139 or the next vulnerability affects your stack