CVE-2024-4367
I noticed that `npm audit` is reporting the following high NPM vulnerability.
```
pdfjs-dist <=4.1.392
Severity: high
PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF - https://github.com/advisories/GHSA-wgrm-67xf-hhpq
fix available via `npm audit fix --force`
Will install @govtechsg/purple-hats@0.9.18, which is a breaking change
node_modules/pdfjs-dist
@govtechsg/purple-hats >=0.9.19
Depends on vulnerable versions of pdfjs-dist
node_modules/@govtechsg/purple-hats
```
The package.json seems to contain a very specific version of the package: https://github.com/GovTechSG/purple-a11y/blob/master/package.json#L20
关闭于 2025-01-27 1 条评论