{"id":"CVE-2020-7680","details":"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.","aliases":["GHSA-qpqh-46qj-vwcw"],"modified":"2026-04-10T04:28:11.900564Z","published":"2020-07-20T16:15:12.350Z","related":["SNYK-JS-DOCSIFY-567099"],"references":[{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2021/Feb/71"},{"type":"ADVISORY","url":"https://github.com/docsifyjs/docsify/issues/1126"},{"type":"ADVISORY","url":"https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099"},{"type":"FIX","url":"https://github.com/docsifyjs/docsify/pull/1128"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html"},{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/docsifyjs/docsify","events":[{"introduced":"0"},{"fixed":"13f91a4fcb52fb7757e7ecbb4262fd89247dabdd"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"4.11.4"}]}}],"versions":["v0.0.1","v0.0.2","v0.0.3","v0.0.4","v0.0.5","v0.1.0","v0.2.0","v0.2.1","v0.3.0","v0.3.1","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.6.0","v0.6.1","v0.7.0","v1.0.0","v1.0.1","v1.0.2","v1.0.3","v1.1.0","v1.1.1","v1.1.2","v1.1.3","v1.1.4","v1.1.5","v1.1.6","v1.1.7","v1.10.0","v1.10.1","v1.10.2","v1.10.3","v1.10.4","v1.10.5","v1.2.0","v1.3.0","v1.3.1","v1.3.2","v1.3.3","v1.3.4","v1.3.5","v1.4.0","v1.4.1","v1.4.2","v1.4.3","v1.5.0","v1.5.1","v1.5.2","v1.6.0","v1.6.1","v1.7.0","v1.7.1","v1.7.2","v1.7.3","v1.7.4","v1.8.0","v1.9.0","v2.0.0","v2.0.1","v2.0.2","v2.0.3","v2.1.0","v2.2.0","v2.2.1","v2.3.0","v2.4.0","v2.4.1","v2.4.2","v2.4.3","v3.0.0","v3.0.1","v3.0.2","v3.0.3","v3.0.4","v3.0.5","v3.1.0","v3.1.1","v3.1.2","v3.2.0","v3.3.0","v3.4.0","v3.4.1","v3.4.2","v3.4.3","v3.4.4","v3.5.0","v3.5.1","v3.5.2","v3.6.0","v3.6.2","v3.6.3","v3.6.4","v3.6.5","v3.6.6","v3.7.0","v3.7.1","v3.7.2","v3.7.3","v4.0.0","v4.0.1","v4.0.2","v4.1.0","v4.1.1","v4.1.10","v4.1.11","v4.1.12","v4.1.13","v4.1.14","v4.1.2","v4.1.3","v4.1.4","v4.1.5","v4.1.6","v4.1.7","v4.1.8","v4.1.9","v4.10.0","v4.10.2","v4.11.0","v4.11.1","v4.11.2","v4.11.3","v4.2.0","v4.2.1","v4.2.3","v4.2.4","v4.2.6","v4.2.7","v4.2.8","v4.2.9","v4.3.0","v4.3.1","v4.3.10","v4.3.11","v4.3.12","v4.3.13","v4.3.14","v4.3.15","v4.3.2","v4.3.3","v4.3.4","v4.3.5","v4.3.6","v4.3.7","v4.3.8","v4.3.9","v4.4.0","v4.4.1","v4.5.0","v4.5.1","v4.5.2","v4.5.3","v4.5.4","v4.5.5","v4.5.6","v4.5.8","v4.5.9","v4.6.0","v4.6.1","v4.6.2","v4.6.3","v4.6.4","v4.6.5","v4.6.6","v4.6.7","v4.6.8","v4.7.0","v4.7.1","v4.8.0","v4.8.1","v4.8.2","v4.8.3","v4.8.4","v4.8.5","v4.8.6","v4.9.0","v4.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-7680.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}