PT-2017-7494

CVE-2015-8862

·

Published

2017-01-23

·

Updated

2018-10-09

Description by

CVSS 3.1
6.1
Medium
MetricsAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions mustache versions prior to 2.2.1
Description The issue allows remote attackers to conduct cross-site scripting (XSS) attacks by leveraging a template with an attribute that is not quoted. This can occur when attributes in mustache templates are not properly encapsulated. For example, a template like <a href={{foo}}/> with input { 'foo' : 'test.com onload=alert(1)'} can result in a rendered output of <a href=test.com onload=alert(1)/>, facilitating the XSS attack.
Recommendations Update to version 2.2.1 or later. Alternatively, ensure that all attributes in mustache templates are encapsulated with quotes.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-3233-RGX3-C2WH
GHSA-W3W8-37JV-2C58
Found an issue in the description? Have something to add? Feel free to write us 👾