SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-32830

The locateFont method of @diez/generation has a command injection vulnerability.

HIGH 7.0EPSS 1.92%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (1.92%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

The @diez/generation npm package is a client for Diez. The locateFont method of @diez/generation has a command injection vulnerability. Clients of the @diez/generation library are unlikely to be aware of this, so they might unwittingly write code that contains a vulnerability. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. All versions of this package are vulnerable as of the writing of this CVE.

CVSS 3.1
7.0 HIGHCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.92% probability · 80th percentile
Public exploits
None in Exploit-DB
CISA KEV
Not listed
Weakness
CWE-78, CWE-77
Affected
haikuforteams/diez
Source
security-advisories@github.com
EPSS trend
0%3%5%26 October 2026: 1.92%26 October 202626 October 2026

EPSS 1.9% since 26 October 2026; no change recorded yet. Points are recorded when the score first appears and whenever it moves by a percentage point or more.

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.