CVE-2015-8861
MEDIUM 6.1CVSS 3.1Cross-Site Scripting in handlebars
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.
- Published
- 23 Jan 2017
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-9prh-257w-9277
- Sources
- NVDJSONOSV GHSA-9prh-257w-9277JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | handlebars.js_project | handlebars.jscpe:2.3:a:handlebars.js_project:handlebars.js:*:*:*:*:*:node.js:*:* |
< 4.0.0 | 4.0.0 |
| OSV | npm | handlebars | < 4.0.0 | 4.0.0 |
References
- http://www.openwall.com/lists/oss-security/2016/04/20/11 · Mailing List, Third Party Advisory, WEB
- http://www.securityfocus.com/bid/96434 · Third Party Advisory, VDB Entry, WEB
- https://www.sourceclear.com/blog/handlebars_vulnerability_research_findings/ · Patch, Third Party Advisory, WEB
- https://www.tenable.com/security/tns-2016-18 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2015-8861 · ADVISORY
- https://github.com/wycats/handlebars.js/pull/1083 · WEB
- https://blog.srcclr.com/handlebars_vulnerability_research_findings · WEB
- https://github.com/advisories/GHSA-9prh-257w-9277 · ADVISORY
- https://github.com/wycats/handlebars.js · PACKAGE
- https://www.npmjs.com/advisories/61 · WEB
History
- 25 Nov 2026 20:19 UTC · NVD: first stored (published 23 Jan 2017)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 23 Oct 2018)