mportuga eslint-detailed-reporter up to 0.9.0 template-generator.js renderIssue message cross site scripting
|CVSS Meta Temp Score|
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
|Current Exploit Price (≈)|
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
|CTI Interest Score|
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
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 software 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`
CVSSv3VulDB Meta Base Score: 4.4
VulDB 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): 🔒
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
NVD Base Score: 🔒
ExploitingClass: Cross site scripting
CWE: CWE-79 / CWE-74 / CWE-707
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
Threat IntelligenceInterest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
0-Day Time: 🔒
Timeline04/18/2023 Advisory disclosed
04/18/2023 +0 days CVE reserved
04/18/2023 +0 days VulDB entry created
05/09/2023 +21 days VulDB last update
CVE: CVE-2022-4942 (🔒)
EntryCreated: 04/18/2023 09:01 PM
Updated: 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)
Want to stay up to date on a daily basis?
Enable the mail alert feature now!