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 trend (30 days)EPSS over the last 30 days for CVE-2021-23342: held from 0.017 to 0.017.

EPSS over last 30 days · oldest: 0.017 · newest: 0.017 · change: 0.000

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.