Vulnerability Details : CVE-2022-4942
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.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2022-4942
- Eslint-detailed-reporter Project » Eslint-detailed-reporter » For Node.jsVersions up to, including, (<=) 0.9.0cpe:2.3:a:eslint-detailed-reporter_project:eslint-detailed-reporter:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-4942
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 19 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-4942
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.0
|
MEDIUM | AV:N/AC:L/Au:S/C:N/I:P/A:N |
8.0
|
2.9
|
VulDB | |
3.5
|
LOW | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
VulDB | |
3.5
|
LOW | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N |
2.1
|
1.4
|
VulDB | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2022-4942
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: cna@vuldb.com (Primary)
References for CVE-2022-4942
-
https://github.com/mportuga/eslint-detailed-reporter/commit/505c190efd4905990db6207863bdcbd9b1d7e1bd
fix(template-generator): fix xss problem in issue message · mportuga/eslint-detailed-reporter@505c190 · GitHubPatch
-
https://vuldb.com/?id.226310
CVE-2022-4942: mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting (ID 46)Permissions Required
-
https://vuldb.com/?ctiid.226310
CVE-2022-4942: mportuga eslint-detailed-reporter template-generator.js renderIssue cross site scripting (ID 46)Permissions Required
-
https://github.com/mportuga/eslint-detailed-reporter/pull/46
fix(template-generator): fix xss problem in issue message by lyngai · Pull Request #46 · mportuga/eslint-detailed-reporter · GitHubPatch
Jump to