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)

EPSS: 0.017 (74.2th percentile) — read the EPSS interpretation.

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.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

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.