All CVEs / Handlebars.js Project
CVE-2015-8861Handlebars.js Project Handlebars.js
Medium 6.1 No auth needed
Follow: this CVE · Handlebars.js Project · Handlebars.js Project Handlebars.js We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 2.6% probability of exploitation in 30 days · percentile 86
- Auth required
- No
- Published
- Jan 23, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Handlebars.js.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | handlebars |
< 4.0.0 |
4.0.0 |
npm install handlebars@4.0.0 |
Per OSV / GitHub Advisories (GHSA-9prh-257w-9277). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| handlebars.js_project | handlebars.js | < 4.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.sourceclear.com Patch Third Party Advisory
- www.tenable.com Third Party Advisory