Lucene search

K
osvGoogleOSV:GHSA-2MM9-C2FX-C7M4
HistoryMar 01, 2021 - 7:44 p.m.

Docsify XSS Vulnerability

2021-03-0119:44:27
Google
osv.dev
11
docsify
xss
vulnerability
package
remediation
cve-2020-7680
javascript
html
remote urls
sanitization
sidebar
url check

EPSS

0.03

Percentile

91.0%

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

EPSS

0.03

Percentile

91.0%