npm package report

Is mustache safe?

1 known vulnerability, worst severity HIGH.

// reach

0 direct dependencies

none carry a known advisory

    113 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
    6.1
    medium

    CVSS v3.0 base score out of 10; GitHub rates it HIGH

    epss
    1.7%
    medium

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

    xyz score
    4.6
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-w3w8-37jv-2c58, the advisory selected below

    // 1 advisories

    GHSA-w3w8-37jv-2c58

    HIGHGitHub ratingCVE-2015-8862

    Versions of mustache prior to 2.2.1 are affected by a cross-site scripting vulnerability when attributes in mustache templates are not quoted.

    // example

    Template:

    Input:

    Rendered result:

    ## Recommendation
    
    Update to version 2.2.1 or later.
    Alternatively, ensure that all attributes in hmustache templates are encapsulated with quotes.
    // cvss v3.0 vector

    CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    Required
    Scope
    Changed
    Confidentiality
    Low
    Integrity
    Low
    Availability
    None

    Checked 2026-11-06 at 22:03 UTC. The most recent advisory here was published 2017-10-24. Updated continuously from NVD, GHSA, OSV and CNA feeds.

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