npmWorst: High3 advisories

pdfjs-dist: known vulnerabilities

pdfjs-dist has 3 reviewed security advisories in the GitHub Advisory Database — 3 high. The most recent was published 2026-08-06. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the pdfjs-dist versions running across your servers, containers and images, and ranks what to patch first.

How to fix pdfjs-dist

Upgrade pdfjs-dist to a release at or above the fixed version shown for each advisory below. For npm:

npm install pdfjs-dist@6.2.108 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF High CWE-79 — Affected: from 5.6.83 up to 6.2.108. Fixed in 6.2.108. Published 2026-08-06. GHSA-hq66-cqwq-w95j · CVE-2026-16633
PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF High 8.8 CWE-754 — Affected: before 4.2.67. Fixed in 4.2.67. Published 2024-05-14. GHSA-wgrm-67xf-hhpq · CVE-2024-4367
Malicious PDF can inject JavaScript into PDF Viewer High 8.8 CWE-94 — Affected: before 1.10.100. Fixed in 1.10.100. Published 2018-06-11. GHSA-7jg2-jgv3-fmr4 · CVE-2018-5158

Find pdfjs-dist across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.