Cross-site scripting in docsify
Priority LOW 35CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
EPSS 0.045 91st percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed docsify: 4.11.4docsify (npm): 4.11.4
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | docsify | before 4.11.4 | 4.11.4 | Patch available | CNA |
| — | docsify (npm) | before 4.11.4 | 4.11.4 | Patch available | GHSA-qpqh-46qj-vwcw |
- docsify Vendor— Affected before 4.11.4 Fixed in 4.11.4 Patch available CNA
- docsify (npm) Vendor— Affected before 4.11.4 Fixed in 4.11.4 Patch available GHSA-qpqh-46qj-vwcw
Remediation
- Fix · CNA docsify Fixed in 4.11.4
- Fix · GHSA-qpqh-46qj-vwcw docsify (npm) Fixed in 4.11.4 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-7680
- 2026-10-03 Alias added: GHSA-qpqh-46qj-vwcw
References
Exploit 2
More Docsifyjs Docsify vulnerabilities
- TI-2021-06040 Cross-site scripting (XSS) in docsify CVSS 3.1HIGH 8.6
- TI-2021-10652 docsify 4.12.1 is affected by Cross Site Scripting (XSS) because the search component… CVSS 3.1MEDIUM 6.1
Sources
- CVE-2020-7680 · CVE Program
- CVE-2020-7680 · NVD
- FIRST EPSS
- GHSA-qpqh-46qj-vwcw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences