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

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

October 23, 2018 (updated September 8, 2021)

The handlebars package before 4.0.0 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/96434
  • blog.srcclr.com/handlebars_vulnerability_research_findings/
  • github.com/advisories/GHSA-9prh-257w-9277
  • github.com/wycats/handlebars.js/pull/1083
  • nvd.nist.gov/vuln/detail/CVE-2015-8861
  • www.npmjs.com/advisories/61
  • www.sourceclear.com/blog/handlebars_vulnerability_research_findings/
  • www.tenable.com/security/tns-2016-18

Code Behaviors & Features

Detect and mitigate CVE-2015-8861 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 4.0.0

Fixed versions

  • 4.0.0

Solution

Upgrade to version 4.0.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/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/handlebars/CVE-2015-8861.yml

Spotted a mistake? Edit the file on GitLab.

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

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