Advisory

GHSA-5h7x-68wj-jhwc

Also known as: CVE-2021-30074

Summary

Docsify vulnerable to cross-site scripting due to mishandled encoding

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-24 17:46 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

docsify

npm · All systems

Affected

  • introduced 0, fixed 4.12.2 (semver)

Fixed versions

4.12.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences