npm package report

Is ejs safe?

ejs (npm) has 5 known vulnerabilities, the worst rated CRITICAL. Upgrade to 3.1.10 or later to clear all of them. No malicious-package signal is recorded.

// reach

1 direct dependencies

none carry a known advisory

    127 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
    9.8
    critical

    CVSS v3.1 base score out of 10

    epss
    32.8%
    high

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

    xyz score
    6.4
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-phwq-j96m-2c2q, the advisory selected below

    // 5 advisories

    The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName].

    Full advisory text at GitHub advisory or NVD.

    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    None
    Scope
    Unchanged
    Confidentiality
    High
    Integrity
    High
    Availability
    High
    // questions
    Is ejs safe to install?

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

    Does ejs have known vulnerabilities?

    Yes. CyberXYZ records 5 known vulnerabilities for ejs (npm), the worst rated CRITICAL. They are GHSA-phwq-j96m-2c2q, GHSA-3w5v-p54c-f74x, GHSA-6x77-rpqf-j6mw, GHSA-ghr5-ch3p-vcr6, GHSA-hwcf-pp87-7x6p.

    Which version of ejs should I use?

    3.1.10 or later clears every advisory recorded for ejs (npm). Check the release you pick before installing it.

    How do I check ejs before installing?

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


    Checked 2026-11-14 at 07:03 UTC. The most recent advisory here was published 2024-04-28. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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