PT-2023-15928 · Mportuga · Eslint-Detailed-Reporter

·

CVE-2022-4942

·

Publicado

2023-04-20

·

Atualizado

2024-05-17

CVSS v2.0

4.0

Média

VetorAV:N/AC:L/Au:S/C:N/I:P/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.

Exploit

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

CVE-2022-4942
GHSA-4XR4-89M5-46C7

Produtos afetados

Eslint-Detailed-Reporter