Security mailing lists by PureSourceCode

CVE-2021-30074

MEDIUM 6.1CVSS 3.1

Docsify vulnerable to cross-site scripting due to mishandled encoding

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.

Published
2 Apr 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-5h7x-68wj-jhwc
Sources
NVDJSONOSV GHSA-5h7x-68wj-jhwcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD docsifyjs docsify
cpe:2.3:a:docsifyjs:docsify:4.12.1:*:*:*:*:*:*:*
= 4.12.1
OSV npm docsify < 4.12.2 4.12.2

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 2 Apr 2021)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.