#VU55264 Prototype pollution in handlebars.js


Published: 2021-07-22

Vulnerability identifier: #VU55264

Vulnerability risk: Low

CVSSv3.1: 4.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2019-19919

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
handlebars.js
Web applications / JS libraries

Vendor: The Handlebars Templating Language

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


External links
http://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.


Latest bulletins with this vulnerability