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
CVE-2021-23342
This high-severity CVE scores 8.6 under NVD CVSS v3. EPSS exploit probability: 1.7% (75th percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.6
- EG Score
- 8.6HIGHmedium confidence
- EG Risk
- 44EG Risk 44/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity86% × 45%Exploitation2% × 40%Automatability30% × 15%CISA SSVC: Track at low or medium mission impact; Track or Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 1.7%
- EPSS %ILE
- 75th
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Track or Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation none (no KEV listing, exploit record or EPSS ≥ 50%) · Automatable unknown (not published for this CVE) · Technical impact partial (CVSS below 9.0). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
February 19, 2021
Last Modified
November 21, 2024
Advisory Details (5)
Auto-updated Sep 1, 2026Cross-site Scripting (XSS) in docsify | CVE-2021-23342 | Snyk
https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017Cross-site Scripting (XSS) in org.webjars.npm:docsify | CVE-2021-23342 | Snyk
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593commit ff2a66f12752 (docsifyjs/docsify)
Patch available: docsifyjs/docsify v4.12.1 (contains commit ff2a66f12752)
https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111feFull Disclosure: [KIS-2021-02] docsify <= 4.11.6 DOM-based Cross-Site Scripting Vulnerability
http://seclists.org/fulldisclosure/2021/Feb/71Locked Out | Packet Storm
http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.htmlAffected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| docsify | — |
| — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 8× in last 7d / 34× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 175 total refreshes for this CVE.
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-04 23:18 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-03 14:22 UTCEPSS rescore
- 2026-10-02 16:22 UTCEPSS rescore
- 2026-10-01 19:46 UTCEPSS rescore
- 2026-09-30 15:31 UTCEG score recompute
- 2026-09-30 15:00 UTCEPSS rescore
- 2026-09-28 13:47 UTCEPSS rescore
- 2026-09-27 13:41 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 08:55 UTCOSV refresh
- 2026-09-26 00:21 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:44 UTCEPSS rescore
- 2026-09-22 14:44 UTCEPSS rescore
- 2026-09-21 20:28 UTCEPSS rescore
- 2026-09-19 15:37 UTCEPSS rescore
- 2026-09-18 19:23 UTCEPSS rescore
- 2026-09-17 19:23 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-16 14:04 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-13 16:43 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
- 2026-09-10 09:29 UTCEPSS rescore
- 2026-09-08 21:56 UTCEPSS rescore
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 21:43 UTCOSV refresh
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-06 13:44 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:03 UTCEPSS rescore
- 2026-09-02 14:08 UTCEPSS rescore
- 2026-09-01 13:50 UTCEPSS rescore
- 2026-09-01 03:32 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:37 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:42 UTCEPSS rescore
- 2026-08-25 13:45 UTCEPSS rescore
- 2026-08-23 00:16 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-20 07:55 UTCOSV refresh
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:43 UTCEPSS rescore
- 2026-08-16 14:52 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:47 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-09 13:43 UTCEPSS rescore
- 2026-08-08 16:33 UTCEPSS rescore
- 2026-08-07 16:23 UTCEPSS rescore
- 2026-08-06 13:43 UTCEPSS rescore
- 2026-08-05 19:14 UTCEPSS rescore
- 2026-08-05 02:41 UTCOSV refresh
- 2026-08-04 15:06 UTCEPSS rescore
- 2026-08-04 10:34 UTCEPSS rescore
- 2026-08-03 10:32 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:12 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-30 01:27 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:15 UTCEPSS rescore
- 2026-07-23 01:57 UTCEG score recompute
- 2026-07-22 22:44 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-19 14:28 UTCEPSS rescore
- 2026-07-19 02:26 UTCEPSS rescore
- 2026-07-19 00:59 UTCOSV refresh
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 16:55 UTCEPSS rescore
- 2026-07-15 01:57 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:43 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
Related CVEs(same product + same CWE)
Frequently asked(5)
What is CVE-2021-23342?
When was CVE-2021-23342 disclosed?
Is CVE-2021-23342 actively exploited?
What is the CVSS score of CVE-2021-23342?
How do I remediate CVE-2021-23342?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-23342
Is Your Infrastructure Affected by CVE-2021-23342?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.