CVE-2020-7680
Last modified
CVE-2020-7680 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 4.50% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Docsifyjs | Docsify | < 4.11.4 |
References
- http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.htmlExploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71Mailing List, Third Party Advisory
- https://github.com/docsifyjs/docsify/issues/1126Third Party Advisory
- https://github.com/docsifyjs/docsify/pull/1128Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099Third Party Advisory
- http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.htmlExploit, Third Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71Mailing List, Third Party Advisory
- https://github.com/docsifyjs/docsify/issues/1126Third Party Advisory
- https://github.com/docsifyjs/docsify/pull/1128Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7680?
How severe is CVE-2020-7680?
How do I fix CVE-2020-7680?
Are you affected by CVE-2020-7680?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
