CVE-2020-7680docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS). Docsify.js uses fragment identifiers (parameters after # sign) to…
- 6.1MediumCVSS base score
- 4.5%Exploitation in 30 daysEPSS · top 8.4% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list an Exploit-DB entry for it.
Show the exploits1
Exploit-DB1 entry
- Docsify.js 4.11.4 - Reflective Cross-Site Scripting (Exploit-DB entry) (opens in a new tab)
EDB-ID 48681webapps, multiplepublished 22 Jul 2020Not verified
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By snyk
- 6 months later
· 6 months later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 4.5% · top 8.4% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Affected products
docsify
- affected All versions prior to 4.11.4
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npmdocsifyGHSA-qpqh-46qj-vwcw (opens in a new tab)
References
References6
- https://github.com/docsifyjs/docsify/issues/1126 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/docsifyjs/docsify/pull/1128 (opens in a new tab)x_refsource_MISCx_transferred
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099 (opens in a new tab)x_refsource_MISCx_transferred
- http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html (opens in a new tab)x_refsource_MISCx_transferred
- 20210219 [KIS-2021-02] docsify <= 4.11.6 DOM-based Cross-Site Scripting Vulnerability (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-1169 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qpqh-46qj-vwcw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2020-7680)Record last updated .