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.
{
"github_reviewed_at": "2021-08-19T20:09:43Z",
"severity": "LOW",
"cwe_ids": [
"CWE-77",
"CWE-78"
],
"github_reviewed": true,
"nvd_published_at": "2021-08-17T18:15:00Z"
}