CVE-2020-7680

MEDIUM

Docsify < 4.11.4 - XSS

Title source: rule

Description

docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS). Docsify.js uses fragment identifiers (parameters after # sign) to load resources from server-side .md files. Due to lack of validation here, it is possible to provide external URLs after the /#/ (domain.com/#//attacker.com) and render arbitrary JavaScript/HTML inside docsify page.

Exploits (1)

exploitdb WORKING POC
by Amin Sharifi · textwebappsmultiple
https://www.exploit-db.com/exploits/48681

Scores

CVSS v3 6.1
EPSS 0.0316
EPSS Percentile 87.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Details

CWE
CWE-79
Status published
Products (2)
docsifyjs/docsify < 4.11.4
npm/docsify 0 - 4.11.4npm
Published Jul 20, 2020
Tracked Since Feb 18, 2026