CVE-2015-8862 json
Cross-Site Scripting in mustache
published 9y ago modified 4mo ago also GHSA-w3w8-37jv-2c58 , EUVD-2017-0320
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm mustache 2.2.1
- github.com/janl/mustache.js@378bcca commit
- nodesecurity.io/advisories/62 advisory
Is CVE-2015-8862 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-8862 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
1.66% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- nodesecurity.io https://nodesecurity.io/advisories/62 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/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.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | mustache | <2.2.1 |
2.2.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
nodesecurity.io
/advisories/62
exploit, patch, vendor-advisory
-
github.com
/janl/mustache.js/commit/378bcca8a5cfe4058f294a3dbb78e8755e8e0da5
web
-
securityfocus.com
/bid/96436
vdb-entry, web
-
tenable.com
/security/tns-2016-18
web
-
openwall.com
/lists/oss-security/2016/04/20/11
mailing-list, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2015-8862
advisory
-
github.com
/advisories/GHSA-w3w8-37jv-2c58
advisory
-
github.com
/janl/mustache.js
package
-
npmjs.com
/advisories/62
web
Sources
- CVE List CVE-2015-8862
- GitHub Advisory GHSA-w3w8-37jv-2c58
- NVD CVE-2015-8862
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.