~ / search / GHSA-5h7x-68wj-jhwc

GHSA-5h7x-68wj-jhwc

Docsify vulnerable to cross-site scripting due to mishandled encoding

Source: GitHub Advisory Database (reviewed) Moderate CVE-2021-30074

Packages

EcosystemPackageAffectedFixed in
npm docsify < 4.12.2 4.12.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.