eslint-detailed-reporter vulnerable to cross-site scripting
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | eslint-detailed-reporter | <= 0.9.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-4942
- https://github.com/mportuga/eslint-detailed-reporter/pull/46
- https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd
- https://github.com/mportuga/eslint-detailed-reporter
- https://vuldb.com/?ctiid.226310
- https://vuldb.com/?id.226310
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
eslint-detailed-reporter- Disclosed
- 20.04.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-4xr4-89m5-46c7 - CC BY 4.0
Vulnerability history: eslint-detailed-reporter
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.