{"id":"CVE-2022-4942","aliases":["EUVD-2023-1198","GHSA-4xr4-89m5-46c7"],"status":"published","title":"mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting","description":"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.","severity":{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.0051,"percentile":0.43849,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2023-04-20T05:31:04Z","modified":"2026-10-28T02:31:08Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"eslint-detailed-reporter","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.0"}]}]},{"source":"osv","ecosystem":"npm","package":"eslint-detailed-reporter","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.0"}]}]}],"products":[{"vendor":"eslint-detailed-reporter_project","product":"eslint-detailed-reporter"},{"vendor":"mportuga","product":"eslint-detailed-reporter"}],"references":[{"url":"https://vuldb.com/?id.226310","tags":["vdb-entry","technical-description","x_transferred","Permissions Required","advisory","web"]},{"url":"https://vuldb.com/?ctiid.226310","tags":["signature","permissions-required","x_transferred","Permissions Required","report","web"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46","tags":["issue-tracking","x_transferred","Patch","report","web"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","tags":["patch","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4xr4-89m5-46c7"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4942.json","tags":["advisory"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-4942","title":"mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting","description":"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.","status":"published","published":"2023-04-20T05:31:04.715Z","modified":"2024-08-03T01:55:46.139Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"},{"version":"3.0","score":3.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"cna"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:37.932195Z"}],"euvd":[{"id":"EUVD-2023-1198","description":"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.","status":"published","published":"2023-04-20T05:31:04Z","modified":"2024-08-03T01:55:46Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"updated_at":"2026-11-03T03:25:55.962721Z"}],"ghsa":[{"id":"GHSA-4xr4-89m5-46c7","title":"eslint-detailed-reporter vulnerable to cross-site scripting","description":"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.","status":"published","published":"2023-04-20T06:30:17Z","modified":"2023-11-07T05:05:45Z","cvss":[{"version":"3.0","score":3.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:15.931647Z"}],"nvd":[{"id":"CVE-2022-4942","description":"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.","status":"published","published":"2023-04-20T06:15:07.44Z","modified":"2026-06-17T05:22:21.813Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:37.42466Z"}],"osv":[{"id":"CVE-2022-4942","title":"mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting","description":"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.","status":"published","published":"2023-04-20T05:31:04.715Z","modified":"2026-10-28T02:31:08.105959821Z","cvss":[{"version":"3.1","score":3.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:28.416025Z"},{"id":"GHSA-4xr4-89m5-46c7","title":"eslint-detailed-reporter vulnerable to cross-site scripting","description":"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.","status":"published","published":"2023-04-20T06:30:17Z","modified":"2023-11-08T04:11:04.896201Z","cvss":[{"version":"3.0","score":3.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:37.528068Z"}]}}
