Back
CVE-2020-7680
docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS). Docsify.js uses fragment identifiers (parameters after # sign) to…
Medium6.1EPSS 4.5%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
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.5% of all CVEs (6 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.1.
Weakness
- Cross-site Scripting (XSS)
- CWE-79 (opens in a new tab)All about CWE-79 and its CVEs
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 (6)
- 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)
- 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://trackcve.app/cve/CVE-2020-7680)Record last updated .