docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS)
Published Jul 20, 2020
6.1
MEDIUMCVSS 3.1
EPSS 4.50%
Description
docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS). Docsify.js uses fragment identifiers (parameters after # sign) to load resources from server-side .md files. Due to lack of validation here, it is possible to provide external URLs after the /#/ (domain.com/#//attacker.com) and render arbitrary JavaScript/HTML inside docsify page.
Affected products
- Vendor n/a Product Docsify Defaultn/a
- Version All versions prior to 4.11.4StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Docsify | n/a |
|
No data.
No Red Hat product state for this CVE.
docsify
npm
Introduced 0 Fixed 4.11.4
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | docsify | 0 | 4.11.4 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (28 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 4.50% (0.04500) | 91.21th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.50% (0.04500) | 90.25th | v5 (v2026.06.15) |
| Jan 18, 2026 | 3.16% (0.03162) | 86.54th | v4 (v2025.03.14) |
| Dec 30, 2025 | 5.64% (0.05639) | 90.06th | v4 (v2025.03.14) |
| Nov 21, 2025 | 3.74% (0.03742) | 87.53th | v4 (v2025.03.14) |
| Nov 18, 2025 | 9.33% (0.09330) | 91.93th | v4 (v2025.03.14) |
| Mar 30, 2025 | 3.74% (0.03742) | 86.92th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.86% (0.01863) | 72.04th | v4 (v2025.03.14) |
| Mar 17, 2025 | 3.74% (0.03742) | 87.22th | v4 (v2025.03.14) |
| Dec 17, 2024 | 4.42% (0.04420) | 92.31th | v3 (v2023.03.01) |
| Dec 12, 2024 | 2.92% (0.02918) | 91.17th | v3 (v2023.03.01) |
| Jun 26, 2024 | 3.37% (0.03369) | 91.45th | v3 (v2023.03.01) |
| Jun 10, 2024 | 3.26% (0.03255) | 91.24th | v3 (v2023.03.01) |
| May 9, 2024 | 2.32% (0.02322) | 89.68th | v3 (v2023.03.01) |
| Apr 6, 2024 | 1.65% (0.01650) | 87.34th | v3 (v2023.03.01) |
| Mar 3, 2024 | 1.50% (0.01496) | 86.51th | v3 (v2023.03.01) |
| Dec 24, 2023 | 1.89% (0.01887) | 87.16th | v3 (v2023.03.01) |
| Jul 24, 2023 | 2.65% (0.02651) | 88.96th | v3 (v2023.03.01) |
| Jul 9, 2023 | 1.89% (0.01887) | 86.87th | v3 (v2023.03.01) |
| Apr 5, 2023 | 1.34% (0.01338) | 84.02th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.17% (0.01170) | 82.76th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.51% (0.02507) | 81.71th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.51% (0.02507) | 79.94th | v2 (v2022.01.01) |
| Feb 4, 2022 | 6.49% (0.06487) | 78.04th | v2 (v2022.01.01) |
| Feb 3, 2022 | 6.21% (0.06208) | 81.93th | v1 |
| Jan 6, 2022 | 6.21% (0.06208) | 81.75th | v1 |
| Sep 1, 2021 | 6.21% (0.06208) | 89.66th | v1 |
| Apr 14, 2021 | 6.21% (0.06208) | 0.00th | v1 |
References (8)
- http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html x_refsource_MISCExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html x_refsource_MISCExploitThird Party Advisory
- http://seclists.org/fulldisclosure/2021/Feb/71 mailing-listx_refsource_FULLDISCMailing ListThird Party Advisory
- https://github.com/advisories/GHSA-qpqh-46qj-vwcw Advisory
- https://github.com/docsifyjs/docsify/issues/1126 x_refsource_MISCThird Party Advisory
- https://github.com/docsifyjs/docsify/pull/1128 x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-7680
- https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099 x_refsource_MISCThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://packetstormsecurity.com/files/158515/Docsify.js-4.11.4-Cross-Site-Scripting.html | x_refsource_MISCExploitThird Party AdvisoryVDB Entry | |
| http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html | x_refsource_MISCExploitThird Party Advisory | |
| http://seclists.org/fulldisclosure/2021/Feb/71 | mailing-listx_refsource_FULLDISCMailing ListThird Party Advisory | |
| https://github.com/advisories/GHSA-qpqh-46qj-vwcw | Advisory | |
| https://github.com/docsifyjs/docsify/issues/1126 | x_refsource_MISCThird Party Advisory | |
| https://github.com/docsifyjs/docsify/pull/1128 | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-7680 | ||
| https://snyk.io/vuln/SNYK-JS-DOCSIFY-567099 | x_refsource_MISCThird Party Advisory |
Change history (0)
No recorded changes yet.