GHSA-5h7x-68wj-jhwc
Dashboard / Vulnerabilities / GHSA-5h7x-68wj-jhwc
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.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-30074, https://github.com/docsifyjs/docsify/issues/1549, https://github.com/docsifyjs/docsify/pull/1551, https://github.com/docsifyjs/docsify/commit/c24f7f6f0b87a87f6dd3755f69eb0969ebb029c9, https://github.com/docsifyjs/docsify
Affected packages
Package
Name: docsify
Purl: pkg:npm/docsify
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -4.12.2
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
