PT-2017-7494

CVE-2015-8862

·

Publicado

2017-01-23

·

Atualizado

2018-10-09

Descrição por

CVSS 3.1
6.1
Média
MétricasAV: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.
Explorabilidade
Exploit
Correção
Impactos
Fornecedores
Produtos afetados
Identificadores relacionados
GHSA-3233-RGX3-C2WH
GHSA-W3W8-37JV-2C58
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾