CISA list

● npm package

pdfjs-dist

Pdfjs-dist has three security advisories. The newest release any of them names as the fix is 6.2.108.

As of , pdfjs-dist has three security advisories. The newest release any of them names as the fix is 6.2.108.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 5.6.83 before 6.2.1086.2.1081 advisory
Before 4.2.674.2.672 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-16633GHSA-hq66-cqwq-w95jPDF.js: Arbitrary JavaScript execution upon opening a malicious PDFHigh severityFrom 5.6.83 before 6.2.1086.2.108
CVE-2024-4367GHSA-wgrm-67xf-hhpqPDF.js vulnerable to arbitrary JavaScript execution upon opening a malicious PDFHigh severityBefore 4.2.674.2.67
CVE-2018-5158GHSA-7jg2-jgv3-fmr4Malicious PDF can inject JavaScript into PDF ViewerHigh severityFrom 2.0.0 before 2.0.550; Before 1.10.1001.10.100, 2.0.550

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0