CVE-2021-23342

Cross-site Scripting (XSS)

Published Feb 19, 2021 CVSS 3.1 · 8.6 High EPSS 1.7% KEV · Not listed
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

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-0585 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
Github GHSA Github GHSA GHSA-2mm9-c2fx-c7m4 Docsify XSS Vulnerability
History

No history.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 16, 2024, 10:39 PM
Reserved
Jan 8, 2021, 12:00 AM
Status
Modified
Published
Feb 19, 2021, 5:15 PM
Modified
Jun 17, 2026, 3:38 AM