mportuga/eslint-detailed-reporter · Security
eslint-detailed-reporter vulnerable to cross-site scripting
- GHSA ID
- GHSA-4xr4-89m5-46c7
- CVE ID
- CVE-2022-4942
- Severity
- low
- Published
- Updated
- CVSS
- 3.5 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- CVSS v3
- 3.5 · CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Description
A vulnerability was found in mportuga eslint-detailed-reporter up to 0.9.0 and classified as problematic. Affected by this issue is the function renderIssue in the library lib/template-generator.js. The manipulation of the argument message leads to cross site scripting. The attack may be launched remotely. The name of the patch is 505c190efd4905990db6207863bdcbd9b1d7e1bd. It is recommended to apply a patch to fix this issue. VDB-226310 is the identifier assigned to this vulnerability.
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-4942 ↗
- https://github.com/mportuga/eslint-detailed-reporter/pull/46 ↗
- https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd ↗
- https://vuldb.com/?ctiid.226310 ↗
- https://vuldb.com/?id.226310 ↗
- https://github.com/advisories/GHSA-4xr4-89m5-46c7 ↗