{"id":"CVE-2022-4942","state":"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.","publishedAt":"2023-04-20T05:31:04.715Z","updatedAt":"2024-08-03T01:55:46.139Z","severity":{"score":3.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","source":"VulDB"},"assigner":"VulDB","products":["mportuga eslint-detailed-reporter"],"affected":[{"vendor":"mportuga","product":"eslint-detailed-reporter","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"}]}],"references":["https://vuldb.com/?id.226310","https://vuldb.com/?ctiid.226310","https://github.com/mportuga/eslint-detailed-reporter/pull/46","https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/4xxx/CVE-2022-4942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-4942","state":"PUBLISHED","datePublished":"2023-04-20T05:31:04.715Z","dateUpdated":"2024-08-03T01:55:46.139Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2023-04-18T18:55:49.057Z"},"containers":{"cna":{"title":"mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting","descriptions":[{"lang":"en","value":"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."},{"lang":"de","value":"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."}],"affected":[{"vendor":"mportuga","product":"eslint-detailed-reporter","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"}]}],"references":[{"url":"https://vuldb.com/?id.226310","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.226310","tags":["signature","permissions-required"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46","tags":["issue-tracking"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","tags":["patch"]}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":3.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.5,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":4,"vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Cross Site Scripting"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2023-10-20T14:41:46.032Z"},"timeline":[{"time":"2023-04-18T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2023-04-18T00:00:00.000Z","lang":"en","value":"CVE reserved"},{"time":"2023-04-18T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2023-05-09T08:03:13.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"VulDB GitHub Commit Analyzer","type":"tool"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://vuldb.com/?id.226310","tags":["vdb-entry","technical-description","x_transferred"]},{"url":"https://vuldb.com/?ctiid.226310","tags":["signature","permissions-required","x_transferred"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/pull/46","tags":["issue-tracking","x_transferred"]},{"url":"https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","tags":["patch","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T01:55:46.139Z"}}]}}}