# pdfjs-dist (npm)

Generic build of Mozilla's PDF.js library.

- Latest: 6.5.438 (2026-11-01)
- Licence: Apache-2.0
- Downloads: 258687032 last month
- Advisories on the latest version: 0

- CVE-2026-16633 HIGH: PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF  Fixed in 6.2.108.
- CVE-2024-4367 HIGH: PDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDF Fixed in 4.2.67.
- CVE-2018-5158 HIGH: Malicious PDF can inject JavaScript into PDF Viewer Fixed in 2.0.550, 1.10.100.

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