npm package report

Is js-yaml safe?

js-yaml (npm) has 12 known vulnerabilities, the worst rated CRITICAL. Upgrade to 5.4.1 or later to clear all of them. No malicious-package signal is recorded.

// reach

4 direct dependencies

none carry a known advisory

    707 packages depend on it

    an advisory here reaches each of them

    • charm-mm
    • config
    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
    9.0
    critical

    severity band, no base score published

    epss
    17.2%
    high

    chance of exploitation in 30 days, 97th percentile of all CVEs

    xyz score
    6.9
    medium

    CyberXYZ composite, a working exploit is published

    fig. 01 — GHSA-xxvw-45rp-3mj2, the advisory selected below

    // 12 advisories

    Versions 2.0.4 and earlier of js-yaml are affected by a code execution vulnerability in the YAML deserializer.

    Full advisory text at GitHub advisory or NVD.

    // questions
    Is js-yaml safe to install?

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

    Does js-yaml have known vulnerabilities?

    Yes. CyberXYZ records 12 known vulnerabilities for js-yaml (npm), the worst rated CRITICAL. These include GHSA-xxvw-45rp-3mj2, GHSA-2883-xcg3-v3hh, GHSA-5p4m-2wfm-xmqj, GHSA-pm4m-ph32-ghv5, GHSA-52cp-r559-cp3m.

    Which version of js-yaml should I use?

    5.4.1 or later clears every advisory recorded for js-yaml (npm). Check the release you pick before installing it.

    How do I check js-yaml before installing?

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


    Checked 2026-11-17 at 13:15 UTC. The most recent advisory here was published 2026-09-29. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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