Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2021-23342
February 19, 2021
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 Packages
docsify (CDN_JS):
Affected version(s) >=0.0.1 <4.12.0
Fix Suggestion:
Update to version 4.12.0
docsify (CDN_JS):
Affected version(s) >=0.0.1 <4.12.0
Fix Suggestion:
Update to version 4.12.0
docsify (NPM):
Affected version(s) >=0.0.1 <4.12.0
Fix Suggestion:
Update to version 4.12.0
docsify (NPM):
Affected version(s) >=0.0.1 <4.12.0
Fix Suggestion:
Update to version 4.12.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
7.8
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
POC
CVSS v3
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Exploit Maturity
PROOF-OF-CONCEPT
CVSS v2
Base Score:
4.3
Access Vector
NETWORK
Access Complexity
MEDIUM
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
PARTIAL
Availability Impact
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
EPSS
Base Score:
0.46