Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mustache
  4. ›
  5. CVE-2015-8862

CVE-2015-8862: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

October 24, 2017 (updated September 20, 2021)

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.

References

  • www.openwall.com/lists/oss-security/2016/04/20/11
  • www.securityfocus.com/bid/96436
  • github.com/advisories/GHSA-w3w8-37jv-2c58
  • github.com/janl/mustache.js/commit/378bcca8a5cfe4058f294a3dbb78e8755e8e0da5
  • nodesecurity.io/advisories/62
  • nvd.nist.gov/vuln/detail/CVE-2015-8862
  • www.npmjs.com/advisories/62
  • www.tenable.com/security/tns-2016-18

Code Behaviors & Features

Detect and mitigate CVE-2015-8862 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.2.1

Fixed versions

  • 2.2.1

Solution

Upgrade to version 2.2.1 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/mustache/CVE-2015-8862.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:42 +0000.