{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-4942","published":"2023-04-20T06:15:07.440000Z","last_modified":"2026-06-17T05:22:21.813000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:eslint-detailed-reporter_project:eslint-detailed-reporter:*:*:*:*:*:node.js:*:*","part":"a","vendor":"eslint-detailed-reporter_project","product":"eslint-detailed-reporter","version_end_including":"0.9.0"}],"cpes_truncated":false,"vendors":["eslint-detailed-reporter_project"],"products":["eslint-detailed-reporter_project/eslint-detailed-reporter"],"epss":{"score":0.00622,"percentile":0.44214,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4xr4-89m5-46c7","ecosystem":"npm","name":"eslint-detailed-reporter","purl":"pkg:npm/eslint-detailed-reporter","ranges":[{"introduced":"0","last_affected":"0.9.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-4942/","html_en":"/en/cve/CVE-2022-4942/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-4942"},"untrusted":{"vendor_name":"Eslint-detailed-reporter Project","product_name":"Eslint-detailed-reporter","desc_en":"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.","affected":[{"untrusted_vendor":"mportuga","untrusted_product":"eslint-detailed-reporter","versions":[]}],"references":[{"url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","tags":["Patch"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46","tags":["Patch"]},{"url":"https://vuldb.com/?ctiid.226310","tags":["Permissions Required"]},{"url":"https://vuldb.com/?id.226310","tags":["Permissions Required"]}]}}