CVEvulnerability
CVE-2021-23342
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-02-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.6 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-79
Description
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 configurations
• docsifyjs docsify (< 4.12.0)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html Exploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71 Mailing List, Third Party Advisory
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017 Exploit, Third Party Advisory
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html Exploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71 Mailing List, Third Party Advisory
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017 Exploit, Third Party Advisory