{"id":"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.","aliases":["GHSA-4xr4-89m5-46c7"],"modified":"2026-08-12T03:51:29.400383380Z","published":"2023-04-20T05:31:04.715Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4942.json","unresolved_ranges":[{"extracted_events":[{"introduced":"0.1"},{"last_affected":"0.1"},{"introduced":"0.2"},{"last_affected":"0.2"},{"introduced":"0.3"},{"last_affected":"0.3"},{"introduced":"0.4"},{"last_affected":"0.4"},{"introduced":"0.5"},{"last_affected":"0.5"}],"source":"AFFECTED_FIELD"}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mportuga/eslint-detailed-reporter","events":[{"introduced":"0"},{"fixed":"505c190efd4905990db6207863bdcbd9b1d7e1bd"}],"database_specific":{"cpe":"cpe:2.3:a:eslint-detailed-reporter_project:eslint-detailed-reporter:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"0.9.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["0.6","0.7","0.8","0.9","v0.9.0","v0.8.0","v0.7.4","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.10","v0.6.9","v0.6.8","v0.6.7","v0.6.6","v0.6.5","v0.6.4","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.9","v0.5.8","v0.5.7","v0.5.6","v0.5.5","v0.5.4"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-4942.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N"}]}