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
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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-09-16T22:39:56.584Z

Reserved: 2021-01-08T00:00:00

Link: CVE-2021-23342

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2021-02-19T17:15:13.717

Modified: 2024-11-21T05:51:32.403

Link: CVE-2021-23342

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.