CVE-2021-23342 HIGH

CVE-2021-23342: Cross-site Scripting (XSS)

Vendor N/A
Product docsify
Published February 19, 2021
Last update September 16, 2024

CVSS base score

8.6/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality High
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

February 19, 2021 CVE published
September 16, 2024 Record updated