fonttools is vulnerable to XML External Entity (XXE) Injection
58
Medium Risk
fontTools' XML helper (fontTools.misc.etree) builds an lxml parser without disabling external entity resolution or network access. Parsing a crafted TTX, DesignSpace, or other XML-based font-adjacent file that contains an external entity reference lets the parser read local files or fetch network resources and return their contents to the caller. The fix disables entity resolution and network access on the lxml parser used throughout fontTools.
You are affected if you are using a version that falls within the vulnerable range and you parse XML-based font or font-adjacent files with the lxml-backed parser.
fonttools is vulnerable to XML External Entity (XXE) Injection in versions 3.31.0 - 4.65.0.
Upgrade the fonttools library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.