{"cve":"CVE-2022-4942","nvd":{"published":"2023-04-20T06:15:07.440","modified":"2026-06-17T05:22:21.813","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79"],"references":["https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd","https://github.com/mportuga/eslint-detailed-reporter/pull/46","https://vuldb.com/?ctiid.226310","https://vuldb.com/?id.226310","https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd"],"products":["eslint-detailed-reporter_project:eslint-detailed-reporter"],"source":"nvd","synced_at":"2026-10-19T21:38:05.473481323+00:00"},"epss":{"cve":"CVE-2022-4942","score":0.0051,"percentile":0.43536,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-4xr4-89m5-46c7","url":"https://osv.dev/vulnerability/GHSA-4xr4-89m5-46c7","summary":"eslint-detailed-reporter vulnerable to cross-site scripting","modified":"2023-11-08T04:11:04.896201Z","packages":[{"ecosystem":"npm","name":"eslint-detailed-reporter","purl":"pkg:npm/eslint-detailed-reporter","ranges":["<=0.9.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}