CVE-2021-23342

published 19 Feb 2021 · updated 16 Sep 2024

Cross-site Scripting (XSS)

8.6HighCVSS 8.6EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 4.12.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<4.12.04.12.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-23342 severity on Zeptric[![CVE-2021-23342](https://zeptric.io/badge/cve/CVE-2021-23342.svg)](https://zeptric.io/cve/CVE-2021-23342)