GHSA-2mm9-c2fx-c7m4 · Severity: medium · Ecosystem: npm — Docsify XSS Vulnerability
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
Conclusion & alert: CVE-2021-23342 is rated High Exploit Risk (71.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.46%). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-03-17 | 0.15% | 0.46% | +0.31% |
| 2 | 2023-11-05 | 0.11% | 0.15% | +0.05% |
| 3 | 2023-03-07 | — | 0.11% | — |
Full EPSS history (7 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 8.6 | 3.1 | HIGH |
|
3.9 | 4.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 4.3 | 2.0 | MEDIUM |
|
8.6 | 2.9 | [email protected] |
GHSA-2mm9-c2fx-c7m4 · Severity: medium · Ecosystem: npm — Docsify XSS Vulnerability
| URL | Tags |
|---|---|
| http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html | Exploit Third Party Advisory |
| http://seclists.org/fulldisclosure/2021/Feb/71 | Mailing List Third Party Advisory |
| https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe | Patch Third Party Advisory |
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593 | Exploit Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017 | Exploit Third Party Advisory |