pdfjs-dist

Generic build of Mozilla's PDF.js library.

6.5.438Latest, 1 Nov 2026
259MDownloads, last month
0Advisories on the latest
3Advisories, all versions
Apache-2.0Licence
54KStars
8.3/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF CVE-2026-16633 Fixed in 6.2.108 6 Aug 2026
High PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF CVE-2024-4367 Fixed in 4.2.67 7 May 2024
High Malicious PDF can inject JavaScript into PDF Viewer CVE-2018-5158 Fixed in 2.0.550, 1.10.100 14 May 2022

In the news

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.