npm package report

Is pdfjs-dist safe?

pdfjs-dist (npm) has 3 known vulnerabilities, the worst rated HIGH. Upgrade to 6.2.108 or later to clear all of them. No malicious-package signal is recorded.

// reach

0 direct dependencies

none carry a known advisory

    37 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    7.5
    high

    severity band, no base score published

    epss
    not scored

    chance of exploitation in 30 days

    xyz score
    4.4
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-hq66-cqwq-w95j, the advisory selected below

    // 3 advisories

    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 disallowing…

    Full advisory text at GitHub advisory, NVD or OSV.

    // questions
    Is pdfjs-dist safe to install?

    CyberXYZ does not call a package safe in absolute terms. It records 3 known vulnerabilities for pdfjs-dist (npm), the worst rated HIGH, and no malicious-package signal. Whether it is acceptable depends on the version you run.

    Does pdfjs-dist have known vulnerabilities?

    Yes. CyberXYZ records 3 known vulnerabilities for pdfjs-dist (npm), the worst rated HIGH. They are GHSA-hq66-cqwq-w95j, GHSA-wgrm-67xf-hhpq, GHSA-7jg2-jgv3-fmr4.

    Which version of pdfjs-dist should I use?

    6.2.108 or later clears every advisory recorded for pdfjs-dist (npm). Check the release you pick before installing it.

    How do I check pdfjs-dist before installing?

    Search pdfjs-dist in CyberXYZ Check at https://cyberxyz.io/check?q=pdfjs-dist. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


    Checked 2026-11-14 at 09:03 UTC. The most recent advisory here was published 2026-08-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.