PT-2023-15928 · Mportuga · Eslint-Detailed-Reporter
Lyngai
·
Publicado
2023-04-20
·
Atualizado
2024-05-17
·
CVE-2022-4942
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
mportuga eslint-detailed-reporter versions up to 0.9.0
Description
A vulnerability was found in the function
renderIssue in the library lib/template-generator.js, which can lead to cross-site scripting when the message argument is manipulated. The attack may be launched remotely.Recommendations
For mportuga eslint-detailed-reporter versions up to 0.9.0, apply a patch to fix this issue. As a temporary workaround, consider restricting the use of the
renderIssue function in the lib/template-generator.js library until a patch is available. Avoid manipulating the message argument in the affected function to minimize the risk of exploitation.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
Eslint-Detailed-Reporter