CVE-2021-23342

Cross-site Scripting (XSS)

State
Published
Severity
8.6 High
Published
Feb 19, 2021
Updated
Sep 16, 2024
Reserved
Jan 8, 2021

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.18.6 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:Csnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
docsifyn/a
  • before 4.12.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.