XSS in Docsifyjs Docsify
CVE-2021-23342
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
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L.
EPSS exploit prediction
EPSS: 0.017 (75.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 76th percentile — 75.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000
Affected products
- Docsifyjs Docsify
- Docsify — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-DOCSIFY-1066017 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593 (Exploit, Third Party Advisory)
- github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe (Patch, Third Party Advisory)
- seclists.org/fulldisclosure/2021/Feb/71 (mailing-list, Mailing List, Third Party Advisory)
- packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-23342?
- CVE-2021-23342 is a high-severity vulnerability in Docsifyjs Docsify, classified under Cross-site Scripting. CVSS score: 8.6/10. Published 2021-02-19.
- How severe is CVE-2021-23342?
- High severity. CVSS v3 base score is 8.6 out of 10.
- Is CVE-2021-23342 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.