CVE-2021-23342 – docsify
Package
Manager: npm
Name: docsify
Vulnerable Version: >=0 <4.12.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00463 pctl0.63346
Details
Docsify XSS Vulnerability 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
Metadata
Created: 2021-03-01T19:44:27Z
Modified: 2023-09-13T20:21:27Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-2mm9-c2fx-c7m4/GHSA-2mm9-c2fx-c7m4.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-2mm9-c2fx-c7m4
Finding: F008
Auto approve: 1