If PDF.js is used to load a malicious PDF, and PDF.js is configured with enableScripting set to true (which is the default value) and no CSP for disallowing…
Full advisory text at GitHub advisory, NVD or OSV.
pdfjs-dist (npm) has 3 known vulnerabilities, the worst rated HIGH. Upgrade to 6.2.108 or later to clear all of them. No malicious-package signal is recorded.
0 direct dependencies
none carry a known advisory
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
severity band, no base score published
chance of exploitation in 30 days
CyberXYZ composite out of 10
fig. 01 — GHSA-hq66-cqwq-w95j, the advisory selected below
If PDF.js is used to load a malicious PDF, and PDF.js is configured with enableScripting set to true (which is the default value) and no CSP for disallowing…
Full advisory text at GitHub advisory, NVD or OSV.
CyberXYZ does not call a package safe in absolute terms. It records 3 known vulnerabilities for pdfjs-dist (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.
Yes. CyberXYZ records 3 known vulnerabilities for pdfjs-dist (npm), the worst rated HIGH. They are GHSA-hq66-cqwq-w95j, GHSA-wgrm-67xf-hhpq, GHSA-7jg2-jgv3-fmr4.
6.2.108 or later clears every advisory recorded for pdfjs-dist (npm). Check the release you pick before installing it.
Search pdfjs-dist in CyberXYZ Check at https://cyberxyz.io/check?q=pdfjs-dist. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.
Checked 2026-11-14 at 09:03 UTC. The most recent advisory here was published 2026-08-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.