CVE-2020-7680
Summary
| CVE | CVE-2020-7680 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-07-20 16:15:00 UTC |
| Updated | 2021-02-24 19:10:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-79
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| vulnerability report · Issue #1126 · docsifyjs/docsify · GitHub | MISC | github.com | Third Party Advisory |
| docsify 4.11.6 Cross Site Scripting ≈ Packet Storm | MISC | packetstormsecurity.com | Exploit, Third Party Advisory |
| Full Disclosure: [KIS-2021-02] docsify <= 4.11.6 DOM-based Cross-Site Scripting Vulnerability | FULLDISC | seclists.org | Mailing List, Third Party Advisory |
| Cross-site Scripting (XSS) in docsify | Snyk | MISC | snyk.io | Third Party Advisory |
| update: added html sanitizer for remote rendering by anikethsaha · Pull Request #1128 · docsifyjs/docsify · GitHub | MISC | github.com | Patch, Third Party Advisory |
| Docsify.js 4.11.4 Cross Site Scripting ≈ Packet Storm | MISC | packetstormsecurity.com | Exploit, Third Party Advisory, VDB Entry |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 982581 Nodejs (npm) Security Update for docsify (GHSA-qpqh-46qj-vwcw)