CVE-2021-23342
Cross-site Scripting (XSS)
MEDIUM 6.1EPSS 1.7%
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
- docsify
- CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v3.1 SNYK
- 8.6 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L - CVSS v2.0 NVD
- 4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N - EPSS
- 1.66% chance of exploitation in the next 30 days, 76th percentile
- Published
- 2021-02-19
- Updated
- 2024-09-16
Proof-of-concept exploits (3)
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017
Security advisories
- http://seclists.org/fulldisclosure/2021/Feb/71
- docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe
- advisories/GHSA-2mm9-c2fx-c7m4