Vulnerability · Published Apr 2, 2021 · Assigned by mitre
CVE-2021-30074
Medium 6.1
In plain English
A medium-severity security flaw in the docsify package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)0.8%top 43.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | docsify | 4.12.2 | GHSA-5h7x-68wj-jhwc |
Affected products (as reported)
References
- https://github.com/docsifyjs/docsify/issues/1549 x_refsource_MISC