CVE-2021-23342
Cross-site Scripting (XSS)
- State
- Published
- Severity
- 8.6 High
- Published
- Feb 19, 2021
- Updated
- Sep 16, 2024
- Reserved
- Jan 8, 2021
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
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | 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 | snyk |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
docsifyn/a |
|
References
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593
- https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe
- 20210219 [KIS-2021-02] docsify <= 4.11.6 DOM-based Cross-Site Scripting Vulnerabilitymailing-list
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.