CVE-2021-32830: The @diez/generation npm package is a client for Diez
CVE-2021-32830 is a low-severity flaw (CVSS 3.9) affecting diez. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-32830?
diez: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-32830 being exploited?
CVE-2021-32830 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-32830 affect?
CVE-2021-32830 affects diez. Severity is low (CVSS 3.9). 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 writ
How urgent is CVE-2021-32830?
Priority 39/100. Public exploit reference