CVE-2021-23342
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
How to fix
- docsifyjs docsify4.12.0 or later
- docsify4.12.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| docsifyjs docsify | v < 4.12.0 | 4.12.0 |
| docsifynpm | v < 4.12.0 | 4.12.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.