CVE-2020-7741
XSS in hello.js
9.9
CRITICAL
CVSS 3.1
EPSS 1.5%
描述
This affects the package hello.js 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)`.
如何修補 CVE-2020-7741
要修補 CVE-2020-7741,請將受影響套件升級到下列已修補版本。
- npm/hellojs—升級至 1.18.6 或更新版本
CVE-2020-7741 正在被利用嗎?
低 — EPSS 為 1.5%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, < 1.18.6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.9 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H |