CVE-2020-7680Docsifyjs Docsify
Medium 6.1 No auth needed
Follow: this CVE · Docsifyjs · Docsifyjs Docsify We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 4.5% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Jul 20, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Docsify.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | docsify |
< 4.11.4 |
4.11.4 |
npm install docsify@4.11.4 |
Per OSV / GitHub Advisories (GHSA-qpqh-46qj-vwcw). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| docsifyjs | docsify | < 4.11.4 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- packetstormsecurity.com Exploit Third Party Advisory
- seclists.org Mailing List Third Party Advisory
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- snyk.io Third Party Advisory