{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-4942","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 ap","descriptionLong":"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","updated":"2026-10-28T02:31:08.105959821Z","reserved":"2023-04-18T18:55:49.057Z","status":"Modified","rejected":false,"assigner":"VulDB","metric":{"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","rating":"low","source":"VulDB"},"metrics":[{"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","rating":"low","source":"VulDB"},{"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","rating":"low","source":"vuldb.com"},{"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","rating":"medium","source":"NVD"},{"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","rating":"low","source":"OSV"},{"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","rating":"low","source":"VulDB"},{"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","rating":"low","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","rating":"medium","source":"VulDB"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","rating":"medium","source":"vuldb.com"}],"rating":"low","products":["mportuga eslint-detailed-reporter"],"affectedProducts":[{"vendor":"mportuga","product":"eslint-detailed-reporter","defaultStatus":null,"versions":[{"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"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"eslint-detailed-reporter","purl":"pkg:npm/eslint-detailed-reporter","ranges":["<=0.9.0"],"fixed":[],"advisory":"GHSA-4xr4-89m5-46c7"}],"cwes":["CWE-79"],"aliases":["GHSA-4xr4-89m5-46c7"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4942.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942","tags":["advisory"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0051,"epssPercentile":0.44275,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-4942","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4942","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-4942","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4xr4-89m5-46c7","ok":true,"note":"GHSA-4xr4-89m5-46c7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-4942","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}