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.8fixed in 2.0.550 or 1.10.100, by version range2018-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-4367HIGHCVSS 8.8EG 8.9fixed 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 assessedfixed 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.
Book a Demo →