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)
EPSS: 0.045 (90.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Docsifyjs Docsify
- N/a Docsify — versions All versions prior to 4.11.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (mailing-list, x_refsource_FULLDISC, Mailing List, Third Party Advisory)
- report@snyk.io (Exploit, Third Party Advisory, x_refsource_MISC)
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.