PT-2023-15928 · Mportuga · Eslint-Detailed-Reporter
Lyngai
·
Published
2023-04-20
·
Updated
2024-05-17
·
CVE-2022-4942
CVSS v3.1
6.1
Medium
| Vector | 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.Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Eslint-Detailed-Reporter