Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. eslint-detailed-reporter
  4. ›
  5. CVE-2022-4942

CVE-2022-4942: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

April 20, 2023 (updated November 15, 2023)

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.

References

  • github.com/advisories/GHSA-4xr4-89m5-46c7
  • github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd
  • github.com/mportuga/eslint-detailed-reporter/pull/46
  • nvd.nist.gov/vuln/detail/CVE-2022-4942
  • vuldb.com/?ctiid.226310
  • vuldb.com/?id.226310

Code Behaviors & Features

Detect and mitigate CVE-2022-4942 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.9.0

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Source file

npm/eslint-detailed-reporter/CVE-2022-4942.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:04 +0000.