npm package reportIs mustache safe?
1 known vulnerability, worst severity HIGH.
// reach0 direct dependencies
none carry a known advisory
113 packages depend on it
an advisory here reaches each of them
// ai model usageTracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
cvssCVSS v3.0 base score out of 10; GitHub rates it HIGH
epsschance of exploitation in 30 days, 77th percentile of all CVEs
xyz scoreCyberXYZ composite out of 10
fig. 01 — GHSA-w3w8-37jv-2c58, the advisory selected below
// 1 advisories
Versions of mustache prior to 2.2.1 are affected by a cross-site scripting vulnerability when attributes in mustache templates are not quoted.
// exampleTemplate:
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 vectorCVSS: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.