Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2021-32830: The @diez/generation npm package is a client for Diez

39
Routine
LOW 3.9MITIGATE

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.

Risk facts

CVSS score3.9 (Low)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionRequired
EPSS exploit chance1.9% (top 20%)
CISA exploited listNo
WeaknessCWE-78, CWE-77
Published2021-08-17
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: haikuforteams

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

haikuforteams diez MITIGATE
Affected: all versions
Fixed in: no fixed release known
Safe to downgrade to: no unaffected older release
1. Check installed version
npm ls diez
No fixed or unaffected release known
Apply the vendor mitigation from the advisory, disable the affected feature, or restrict network access.
Verify at the official source NVD · CVE Program · Report a problem with this page
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

Software pages

npm packages vulnerabilities

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.