XSS in Docsifyjs Docsify
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 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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.045 (91.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.045 · newest: 0.045 · change: 0.000
Affected products
- Docsifyjs Docsify
- Docsify — versions All versions prior to 4.11.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/docsifyjs/docsify/issues/1126 (Third Party Advisory)
- github.com/docsifyjs/docsify/pull/1128 (Patch, Third Party Advisory)
- snyk.io/vuln/SNYK-JS-DOCSIFY-567099 (Third Party Advisory)
- packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html (Exploit, VDB Entry, Third Party Advisory)
- seclists.org/fulldisclosure/2021/Feb/71 (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7680?
- CVE-2020-7680 is a medium-severity vulnerability in Docsifyjs Docsify, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2020-07-20.
- How severe is CVE-2020-7680?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2020-7680 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.