CVE-2021-23342
8.6
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C
Summary
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
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | docsify | unspecified < 4.12.0 | affected |
Weaknesses
- Cross-site Scripting (XSS)
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe
- http://seclists.org/fulldisclosure/2021/Feb/71
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html
References
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe
- http://seclists.org/fulldisclosure/2021/Feb/71
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.