Lucene search

K
cveSnykCVE-2021-23342
HistoryFeb 19, 2021 - 5:15 p.m.

CVE-2021-23342

2021-02-1917:15:13
CWE-79
snyk
web.nvd.nist.gov
65
4
cve-2021-23342
nvd
docsify
security vulnerability
javascript
remediation bypass

CVSS2

4.3

Attack Vector

NETWORK

Attack 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

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C

AI Score

6.2

Confidence

High

EPSS

0.03

Percentile

91.0%

This affects the package docsify before 4.12.0. It is possible to bypass the remediation done by CVE-2020-7680 and execute malicious JavaScript through the following methods 1) 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. 2) The isURL external check can be bypassed by inserting more “////” characters

Affected configurations

Nvd
Node
docsifyjsdocsifyRange<4.12.0
VendorProductVersionCPE
docsifyjsdocsify*cpe:2.3:a:docsifyjs:docsify:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "docsify",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "4.12.0",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

Social References

More

CVSS2

4.3

Attack Vector

NETWORK

Attack 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

CVSS3

8.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C

AI Score

6.2

Confidence

High

EPSS

0.03

Percentile

91.0%