Lucene search

K
zdtZdt1337DAY-ID-35845
HistoryFeb 22, 2021 - 12:00 a.m.

docsify 4.11.6 Cross Site Scripting Vulnerability

2021-02-2200:00:00
0day.today
28

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

docsify versions 4.11.6 and below suffer from a cross site scripting vulnerability. This vulnerability exists due to an incomplete fix for CVE-2020-7680.

--------------------------------------------------------------
docsify <= 4.11.6 DOM-based Cross-Site Scripting Vulnerability
--------------------------------------------------------------


[-] Software Link:

https://docsify.js.org/


[-] Affected Versions:

Version 4.11.6 and prior versions.


[-] Vulnerability Description:

The vulnerability exists due to an incomplete fix for CVE-2020-7680.
When parsing HTML from remote URLs, the HTML code on the main page is
sanitized, but this sanitization is not taking place in the sidebar.
This can be exploited to inject arbitrary HTML code and carry out
DOM-based Cross-Site Scripting (XSS) attacks.


[-] Solution:

Upgrade to version 4.12.0 or later.


[-] Disclosure Timeline:

[23/12/2020] - Vendor notified, no response
[13/01/2021] - Opened issue on GitHub: 
https://github.com/docsifyjs/docsify/issues/1477
[13/01/2021] - Vulnerability details sent to Snyk
[08/02/2021] - Version 4.12.0 released
[18/02/2021] - Public disclosure


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CVE-2021-23342 to this vulnerability.


[-] Other References:

https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017

#  0day.today [2021-09-06]  #

6.1 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

4.3 Medium

CVSS2

Access Vector

NETWORK

Access Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N