CVE-2021-30074
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
docsify (npm)before 4.12.2GitHub Advisory Database
docsifyjs docsify4.12.1NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV: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

SourceRecordLicence
CVE ListCVE-2021-30074 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-5h7x-68wj-jhwc changed 2023-11-08CC-BY-4.0
NVDCVE-2021-30074 changed 2026-06-17Public domain