mportuga eslint-detailed-reporter up to 0.9.0 template-generator.js renderIssue message cross site scripting
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
4.3 | $0-$5k | 0.04 |
A vulnerability was found in mportuga eslint-detailed-reporter up to 0.9.0 (Reporting Software) 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
with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to CWE-79. 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. Impacted is integrity.
The weakness was published 04/18/2023 as 46. The advisory is available at github.com. This vulnerability is handled as CVE-2022-4942. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.
Applying the patch 505c190efd4905990db6207863bdcbd9b1d7e1bd is able to eliminate this problem. The bugfix is ready for download at github.com. The advisory contains the following remark:
fix(template-generator): fix xss problem in issue message
- use `_.escape` for html escape instead of `formatSourceCode`
Similar entries are available at VDB-257232, VDB-258621, VDB-260129 and VDB-268787.
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.4VulDB Meta Temp Score: 4.3
VulDB Base Score: 3.5
VulDB Temp Score: 3.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.1
NVD Vector: 🔍
CNA Base Score: 3.5
CNA Vector (VulDB): 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross site scriptingCWE: CWE-79 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 505c190efd4905990db6207863bdcbd9b1d7e1bd
Timeline
04/18/2023 🔍04/18/2023 🔍
04/18/2023 🔍
05/09/2023 🔍
Sources
Advisory: 46Status: Confirmed
CVE: CVE-2022-4942 (🔍)
See also: 🔍
Entry
Created: 04/18/2023 09:01 PMUpdated: 05/09/2023 08:03 AM
Changes: 04/18/2023 09:01 PM (45), 05/09/2023 07:57 AM (2), 05/09/2023 08:03 AM (28)
Complete: 🔍
Cache ID: 18:92D:40
No comments yet. Languages: en.
Please log in to comment.