Prototype pollution in handlebars



| Updated: 2021-07-22
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2019-19919
CWE-ID CWE-94
Exploitation vector Network
Public exploit N/A
Vulnerable software
handlebars.js
Web applications / JS libraries

Vendor The Handlebars Templating Language

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU55264

Risk: Low

CVSSv4.0: 0.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2019-19919

CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data. Templates may alter an Object's __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Mitigation

Install update from vendor's website.

Vulnerable software versions

handlebars.js: 1.0.0 - 4.2.2

CPE2.3 External links

https://www.npmjs.com/advisories/1164


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###