CVE-2020-7680
CVSS V2 Medium 4.3
CVSS V3 Medium 6.1
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.
Overview
- CVE ID
- CVE-2020-7680
- Assigner
- report@snyk.io
- Vulnerability Status
- Analyzed
- Published Version
- 2020-07-20T16:15:12
- Last Modified Date
- 2021-02-24T19:10:49
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:docsifyjs:docsify:*:*:*:*:*:*:*:* | 1 | OR | 4.11.4 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:P/A:N
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- PARTIAL
- Availability Impact
- NONE
- Base Score
- 4.3
- Severity
- MEDIUM
- Exploitability Score
- 8.6
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- REQUIRED
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- NONE
- Base Score
- 6.1
- Base Severity
- MEDIUM
- Exploitability Score
- 2.8
- Impact Score
- 2.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/docsifyjs/docsify/pull/1128 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099 | Third Party Advisory |
https://github.com/docsifyjs/docsify/issues/1126 | Third Party Advisory |
http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html | Exploit Third Party Advisory VDB Entry |
http://seclists.org/fulldisclosure/2021/Feb/71 | Mailing List Third Party Advisory |
http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html | Exploit Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2020-7680 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7680 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 07:21:54 | Added to TrackCVE | |||
2022-12-04 20:03:39 | 2020-07-20T16:15Z | 2020-07-20T16:15:12 | CVE Published Date | updated |
2022-12-04 20:03:39 | 2021-02-24T19:10:49 | CVE Modified Date | updated | |
2022-12-04 20:03:39 | Analyzed | Vulnerability Status | updated |