{"id":"CVE-2022-4942","aliases":["CVE-2022-4942","GHSA-4xr4-89m5-46c7"],"related":[],"kind":"vulnerability","state":"published","title":"mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine Schwachstelle wurde in mportuga eslint-detailed-reporter bis 0.9.0 gefunden. Sie wurde als problematisch eingestuft. Davon betroffen ist die Funktion renderIssue in der Bibliothek lib/template-generator.js. Durch das Manipulieren des Arguments message mit unbekannten Daten kann eine cross site scripting-Schwachstelle ausgenutzt werden. Der Angriff kann über das Netzwerk erfolgen. Der Patch wird als 505c190efd4905990db6207863bdcbd9b1d7e1bd bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2023-04-20T05:31:04.715Z","modified":"2026-06-17T05:22:21.813Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","score":3.5,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"},{"version":"0.4","status":"affected"},{"version":"0.5","status":"affected"},{"version":"0.6","status":"affected"},{"version":"0.7","status":"affected"},{"version":"0.8","status":"affected"},{"version":"0.9","status":"affected"}],"vendor":"mportuga","product":"eslint-detailed-reporter","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.9.0"}],"ecosystem":"npm","package":"eslint-detailed-reporter","purl":"pkg:npm/eslint-detailed-reporter","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.9.0"}],"vendor":"eslint-detailed-reporter_project","product":"eslint-detailed-reporter","cpe":"cpe:2.3:a:eslint-detailed-reporter_project:eslint-detailed-reporter:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.226310","tags":["permissions-required","technical-description","vdb-entry","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://vuldb.com/?ctiid.226310","tags":["permissions-required","signature","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46","tags":["issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","tags":["patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter","tags":["package"],"sources":["ghsa"]}],"credits":["VulDB GitHub Commit Analyzer"],"assigner":"VulDB","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4942","url":"https://www.cve.org/CVERecord?id=CVE-2022-4942","licence":"CVE Terms of Use","modified":"2024-08-03T01:55:46.139Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4xr4-89m5-46c7","url":"https://github.com/advisories/GHSA-4xr4-89m5-46c7","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:04.896Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4942","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942","licence":"Public domain","modified":"2026-06-17T05:22:21.813Z"}],"updatedAt":"2026-11-25T22:58:19.114Z","epss":{"score":0.0051,"percentile":0.4502,"date":"2026-12-01T12:00:22.000Z"}}