CVE-2021-23342
MEDIUM6.1EPSS 0.46%Docsify XSS Vulnerability
發布日:2021/3/1修改日:2025/1/14
描述
This affects the package docsify before 4.12.0. It is possible to bypass the remediation done by CVE-2020-7680 and execute malicious JavaScript through the following methods 1) When parsing HTML from remote URLs, the HTML code on the main page is sanitized, but this sanitization is not taking place in the sidebar. 2) The isURL external check can be bypassed by inserting more `////` characters
受影響套件(1)
- npm/docsifyfrom 0, < 4.12.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-23342
- WEBhttp://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html
- WEBhttp://seclists.org/fulldisclosure/2021/Feb/71
- WEBhttps://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe
- WEBhttps://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593
- WEBhttps://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017
- WEBhttps://www.npmjs.com/package/docsify