CVE-2021-30074Docsifyjs Docsify
Medium 6.1 No auth needed
Follow: this CVE · Docsifyjs · Docsifyjs Docsify We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Apr 2, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
docsify 4.12.1 is affected by Cross Site Scripting (XSS) because the search component does not appropriately encode Code Blocks and mishandles the " character.
What to do
- Apply the vendor's security update for Docsify.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | docsify |
< 4.12.2 |
4.12.2 |
npm install docsify@4.12.2 |
Per OSV / GitHub Advisories (GHSA-5h7x-68wj-jhwc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| docsifyjs | docsify | 4.12.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory