Vulnerability Details : CVE-2020-7680
Potential exploit
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 category: Cross site scripting (XSS)
Products affected by CVE-2020-7680
- cpe:2.3:a:docsifyjs:docsify:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-7680
3.74%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 87 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-7680
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:P/A:N |
8.6
|
2.9
|
NIST | |
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2020-7680
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-7680
-
https://github.com/docsifyjs/docsify/pull/1128
update: added html sanitizer for remote rendering by anikethsaha · Pull Request #1128 · docsifyjs/docsify · GitHubPatch;Third Party Advisory
-
http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html
Docsify.js 4.11.4 Cross Site Scripting ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099
Cross-site Scripting (XSS) in docsify | SnykThird Party Advisory
-
http://seclists.org/fulldisclosure/2021/Feb/71
Full Disclosure: [KIS-2021-02] docsify <= 4.11.6 DOM-based Cross-Site Scripting VulnerabilityMailing List;Third Party Advisory
-
https://github.com/docsifyjs/docsify/issues/1126
vulnerability report · Issue #1126 · docsifyjs/docsify · GitHubThird Party Advisory
-
http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html
docsify 4.11.6 Cross Site Scripting ≈ Packet StormExploit;Third Party Advisory
Jump to