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.
CVSS 3.x
| Source | Score | Severity | Vector | Exploitability | Impact |
|---|---|---|---|---|---|
| nvd@nist.gov | 6.1 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | 2.8 | 2.7 |
CVSS 2.0
Severity: MEDIUM
Problem Type: CWE-79,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| handlebars.js_project | handlebars.js | * |
Versions of handlebars prior to 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Object's __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.
CVSS 3.x
| Source | Score | Severity | Vector | Exploitability | Impact |
|---|---|---|---|---|---|
| nvd@nist.gov | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | 3.9 | 5.9 |
CVSS 2.0
Severity: HIGH
Problem Type: CWE-1321,
Products Affected
| Vendor | Product | Version |
|---|---|---|
| handlebars.js_project | handlebars.js | 4.0.2 |
| handlebars.js_project | handlebars.js | 4.1.2 |
| handlebars.js_project | handlebars.js | 4.0.4 |
| handlebars.js_project | handlebars.js | 4.0.13 |
| handlebars.js_project | handlebars.js | 4.0.10 |
| handlebars.js_project | handlebars.js | 3.0.5 |
| handlebars.js_project | handlebars.js | 4.0.8 |
| handlebars.js_project | handlebars.js | 1.3.0 |
| handlebars.js_project | handlebars.js | 3.0.3 |
| handlebars.js_project | handlebars.js | 4.0.12 |
| handlebars.js_project | handlebars.js | 1.2.1 |
| handlebars.js_project | handlebars.js | 4.2.1 |
| tenable | tenable.sc | * |
| handlebars.js_project | handlebars.js | 4.0.3 |
| handlebars.js_project | handlebars.js | 4.0.7 |
| handlebars.js_project | handlebars.js | 4.2.2 |
| handlebars.js_project | handlebars.js | 1.0.12 |
| handlebars.js_project | handlebars.js | 4.0.6 |
| handlebars.js_project | handlebars.js | 4.0.9 |
| handlebars.js_project | handlebars.js | 3.0.0 |
| handlebars.js_project | handlebars.js | 1.0.6 |
| handlebars.js_project | handlebars.js | 1.1.1 |
| handlebars.js_project | handlebars.js | 3.0.1 |
| handlebars.js_project | handlebars.js | 1.0.9 |
| handlebars.js_project | handlebars.js | 1.0.10 |
| handlebars.js_project | handlebars.js | 3.0.4 |
| handlebars.js_project | handlebars.js | 3.0.2 |
| handlebars.js_project | handlebars.js | 3.0.6 |
| handlebars.js_project | handlebars.js | 4.0.5 |
| handlebars.js_project | handlebars.js | 4.0.14 |
| handlebars.js_project | handlebars.js | 1.0.8 |
| handlebars.js_project | handlebars.js | 2.0.0 |
| handlebars.js_project | handlebars.js | 1.0.11 |
| handlebars.js_project | handlebars.js | 1.1.2 |
| handlebars.js_project | handlebars.js | 4.1.0 |
| handlebars.js_project | handlebars.js | 4.0.0 |
| handlebars.js_project | handlebars.js | 1.0.7 |
| handlebars.js_project | handlebars.js | 1.2.0 |
| handlebars.js_project | handlebars.js | 4.0.11 |
| handlebars.js_project | handlebars.js | 4.1.1 |
| handlebars.js_project | handlebars.js | 4.2.0 |
| handlebars.js_project | handlebars.js | 4.0.1 |
| handlebars.js_project | handlebars.js | 1.1.0 |
| handlebars.js_project | handlebars.js | 3.0.7 |