CVE-2020-7680
MEDIUM 6.1CVSS 3.1Cross-site Scripting in docsify
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.
- Published
- 20 Jul 2020
- Last modified
- 10 Sep 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-qpqh-46qj-vwcwSNYK-JS-DOCSIFY-567099
- Sources
- NVDJSONOSV GHSA-qpqh-46qj-vwcwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | docsifyjs | docsifycpe:2.3:a:docsifyjs:docsify:*:*:*:*:*:*:*:* |
< 4.11.4 | 4.11.4 |
| OSV | npm | docsify | < 4.11.4 | 4.11.4 |
References
- http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html · Exploit, Third Party Advisory, VDB Entry, WEB
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html · Exploit, Third Party Advisory, WEB
- http://seclists.org/fulldisclosure/2021/Feb/71 · Mailing List, Third Party Advisory, WEB
- https://github.com/docsifyjs/docsify/issues/1126 · Third Party Advisory, WEB
- https://github.com/docsifyjs/docsify/pull/1128 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7680 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 20 Jul 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 May 2021)