CVE-2015-8861 json
Cross-Site Scripting in handlebars
published 9y ago modified last mo. also GHSA-9prh-257w-9277 , EUVD-2018-0564
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.6%
- EPSS 2.6% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm handlebars 4.0.0
- handlebars.js_project handlebars.js 4.0.0
Is CVE-2015-8861 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-8861 updated cvss 4.3
mustache: handlebars: Quoteless Attributes in Templates can lead to Content Injection
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.61% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | handlebars | <4.0.0 |
4.0.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
sourceclear.com
/blog/handlebars_vulnerability_research_findings/
patch, third-party-advisory
-
github.com
/wycats/handlebars.js/pull/1083
web
-
tenable.com
/security/tns-2016-18
web, third-party-advisory
-
securityfocus.com
/bid/96434
vdb-entry, web, third-party-advisory
-
openwall.com
/lists/oss-security/2016/04/20/11
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-8861
advisory
-
blog.srcclr.com
/handlebars_vulnerability_research_findings
web
-
github.com
/advisories/GHSA-9prh-257w-9277
advisory
-
github.com
/wycats/handlebars.js
package
-
npmjs.com
/advisories/61
web
-
sourceclear.com
/blog/handlebars_vulnerability_research_findings
web
Sources
- CVE List CVE-2015-8861
- GitHub Advisory GHSA-9prh-257w-9277
- NVD CVE-2015-8861
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.