CVE-2021-30074
6.1medium
Docsify vulnerable to cross-site scripting due to mishandled encoding
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.78% (higher than 57% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-5h7x-68wj-jhwc
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| docsify (npm) | before 4.12.2 | GitHub Advisory Database |
| docsifyjs docsify | 4.12.1 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
docsify versions 4.12.1 and earlier are vulnerable to cross-site scripting (XSS) because the search component does not appropriately encode Code Blocks and mishandles the " character.
NVD (es)
docsify versión 4.12.1, está afectado por una vulnerabilidad de tipo Cross Site Scripting (XSS) porque el componente search no codifica apropiadamente unos Code Blocks y maneja inapropiadamente el carácter ".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-30074 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-5h7x-68wj-jhwc changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-30074 changed 2026-06-17 | Public domain |