CVE-2020-7741
CVSS V2 High 7.5
CVSS V3 Critical 9.9
Description
This affects the package hellojs before 1.18.6. The code get the param oauth_redirect from url and pass it to location.assign without any check and sanitisation. So we can simply pass some XSS payloads into the url param oauth_redirect, such as javascript:alert(1).
Overview
- CVE ID
- CVE-2020-7741
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2020-10-06T15:15:15
- Last Modified Date
- 2020-10-19T19:44:58
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:hello.js_project:hello.js:*:*:*:*:*:node.js:*:* | 1 | OR | 1.18.6 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- HIGH
- Base Score
- 9.9
- Base Severity
- CRITICAL
- Exploitability Score
- 3.9
- Impact Score
- 5.3
References
Reference URL | Reference Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-HELLOJS-1014546 | Third Party Advisory |
https://github.com/MrSwitch/hello.js/blob/3b79ec93781b3d7b9c0b56f598e060301d1f3e73/dist/hello.all.js%23L1545 | Broken Link |
https://github.com/MrSwitch/hello.js/commit/d6f5137f30de6e0ef7048191ee6ae575fdc2f669 | Patch Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-7741 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7741 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 16:23:10 | Added to TrackCVE | |||
2022-12-04 23:46:54 | 2020-10-06T15:15Z | 2020-10-06T15:15:15 | CVE Published Date | updated |
2022-12-04 23:46:54 | 2020-10-19T19:44:58 | CVE Modified Date | updated | |
2022-12-04 23:46:54 | Analyzed | Vulnerability Status | updated |