CVE-2021-23342

High

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

SeverityHigh
CVSS8.6
Exploit probability—
ProductDocsify
PublishedFeb 19, 2021
First seenFeb 19, 2021

How to fix

Update
  • docsifyjs docsify4.12.0 or later
  • docsify4.12.0 or later

Affected products

ProductAffected versionsFixed in
docsifyjs docsifyv < 4.12.04.12.0
docsifynpmv < 4.12.04.12.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.