{"id":"CVE-2022-4942","aliases":["GHSA-4xr4-89m5-46c7"],"url":"https://o3.security/vulnerability/CVE-2022-4942","summary":"mportuga eslint-detailed-reporter template-generator.js renderIssue 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 patch is identified as 505c190efd4905990db6207863bdcbd9b1d7e1bd. It is recommended to apply a patch to fix this issue. VDB-226310 is the identifier assigned to this vulnerability.","published":"2023-04-20T05:31:04.715Z","modified":"2026-08-12T03:51:29.400383380Z","cvss":{"score":3.5,"severity":"LOW","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"eslint-detailed-reporter","fixedVersion":null}],"fix":{"url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","label":"mportuga/eslint-detailed-reporter@505c190"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4942.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942"},{"type":"ADVISORY","url":"https://vuldb.com/?id.226310"},{"type":"REPORT","url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.226310"},{"type":"FIX","url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:29.400383380Z"}}