{"id":"GHSA-4xr4-89m5-46c7","summary":"eslint-detailed-reporter vulnerable to cross-site scripting","details":"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.","aliases":["CVE-2022-4942"],"modified":"2023-11-08T04:11:04.896201Z","published":"2023-04-20T06:30:17Z","database_specific":{"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2023-04-20T20:34:40Z","nvd_published_at":"2023-04-20T06:15:07Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942"},{"type":"WEB","url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46"},{"type":"WEB","url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd"},{"type":"PACKAGE","url":"https://github.com/mportuga/eslint-detailed-reporter"},{"type":"WEB","url":"https://vuldb.com/?ctiid.226310"},{"type":"WEB","url":"https://vuldb.com/?id.226310"}],"affected":[{"package":{"name":"eslint-detailed-reporter","ecosystem":"npm","purl":"pkg:npm/eslint-detailed-reporter"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-4xr4-89m5-46c7/GHSA-4xr4-89m5-46c7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"}]}