fix: use vercel for vendor in nextjs CPE (#4450)

The recent react / next CVE uses "vercel" as the vendor, see
https://nvd.nist.gov/vuln/detail/CVE-2025-55182

Signed-off-by: Will Murphy <willmurphyscode@users.noreply.github.com>
This commit is contained in:
Will Murphy
2025-12-08 20:23:36 +00:00
committed by GitHub
parent baca32f04a
commit d950ac1fae
@@ -196,6 +196,11 @@ var defaultCandidateAdditions = buildCandidateLookup(
candidateAddition{AdditionalVendors: []string{"handlebarsjs"}},
},
// NPM packages
{
pkg.NpmPkg,
candidateKey{PkgName: "next"},
candidateAddition{AdditionalProducts: []string{"next.js"}, AdditionalVendors: []string{"vercel"}},
},
{
pkg.NpmPkg,
candidateKey{PkgName: "hapi"},