PT-2018-6053 · Morrisjs · Morris.Js
Publicado
2018-06-04
·
Atualizado
2019-10-09
·
CVE-2017-16022
CVSS v3.1
6.1
Média
| Vetor | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions:
morris.js versions 0.5.0 and earlier
Description:
The issue concerns morris.js, which generates svg graphs with hover-over labels. These labels are not properly escaped, allowing for script injection if an attacker gains control over the labels. The injected script runs on the client side when the specific graph is loaded.
Recommendations:
For versions 0.5.0 and earlier, install the library from github via:
npm i morrisjs/morris.js -s
As a temporary workaround, consider restricting access to the graph generation feature until the issue is resolved.
Correção
XSS
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Morris.Js