Live threats

All CVEs / Mustache.js Project

CVE-2015-8862Mustache.js Project Mustache.js

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
No
Published
Jan 23, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

mustache package before 2.2.1 for Node.js allows remote attackers to conduct cross-site scripting (XSS) attacks by leveraging a template with an attribute that is not quoted.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mustache.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mustache < 2.2.1 2.2.1 npm install mustache@2.2.1

Per OSV / GitHub Advisories (GHSA-w3w8-37jv-2c58). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mustache.js_projectmustache.js≤ 2.2.0

Official sources

References

Links published by the sources. Open them with care.