Skip to content
OpenAdvisories
High · 8.6 CVE-2021-23342 EUVD-2021-0585GHSA-2mm9-c2fx-c7m4

Cross-site Scripting (XSS)

Published Feb 19, 2021 · Updated Sep 16, 2024 · Assigned by snyk

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

Affected products

VendorProductAffectedFixed
— docsify unspecified – < 4.12.0 4.12.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm docsify < 4.12.0 4.12.0 GHSA-2mm9-c2fx-c7m4

References