Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/docsify@4.11.4
purl pkg:npm/docsify@4.11.4
Next non-vulnerable version 4.12.0
Latest non-vulnerable version 4.12.2
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-xy6c-gr7v-5ygs
Aliases:
CVE-2021-23342
GHSA-2mm9-c2fx-c7m4
Cross-site Scripting 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
4.12.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-1jjj-34qa-skaz docsify 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 and render arbitrary `JavaScript/HTML` inside docsify page. CVE-2020-7680
GHSA-qpqh-46qj-vwcw

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-04T20:45:13.385951+00:00 GitLab Importer Affected by VCID-xy6c-gr7v-5ygs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/docsify/CVE-2021-23342.yml 38.6.0
2026-06-04T17:37:11.861628+00:00 GithubOSV Importer Fixing VCID-1jjj-34qa-skaz https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-qpqh-46qj-vwcw/GHSA-qpqh-46qj-vwcw.json 38.6.0
2026-06-04T16:20:07.897896+00:00 GitLab Importer Fixing VCID-1jjj-34qa-skaz https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/docsify/CVE-2020-7680.yml 38.6.0