pdfjs-dist
npm3 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting pdfjs-distpage 1 of 1
- CVE-2018-5158HIGHCVSS 8.8EG 8.8✓ Fixed in 1.10.1002018-06-11
The PDF viewer does not sufficiently sanitize PostScript calculator functions, allowing malicious JavaScript to be injected through a crafted PDF file. This JavaScript can then be run with the permissions of the PDF viewer by its worker. T…
- CVE-2024-4367CRITICALCVSS 8.8EG 9.0✓ Fixed in 4.2.672024-05-14
A type check was missing when handling fonts in PDF.js, which would allow arbitrary JavaScript execution in the PDF.js context. This vulnerability affects Firefox < 126, Firefox ESR < 115.11, and Thunderbird < 115.11.
- CVE-2026-16633HIGHEG not assessed✓ Fixed in 6.2.1082026-08-06
PDF.js: Arbitrary JavaScript execution upon opening a malicious PDF ### Impact 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 disallowin…
Check whether pdfjs-dist is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for pdfjs-dist CVEs against the assets you own.
Start Free Scan →