CVE-2020-7680 Cross-site Scripting in docsify
MediumCVSS 6.1
EPSS 4.5%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm docsify(npm) | < 4.11.4 | 4.11.4 |
| docsifyjs docsify | < 4.11.4 | 4.11.4 |
References
- nvd.nist.gov third-party-advisory
- github.com third-party-advisory
- github.com patch third-party-advisory
- snyk.io third-party-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- packetstormsecurity.com exploit third-party-advisory
- 20210219 [KIS-2021-02] docsify <= 4.11.6 DOM-based Cross-Site Scripting Vulnerability mailing-list third-party-advisory
- github.com