{"id":"CVE-2021-30074","published":"2021-04-02T20:40:10Z","modified":"2024-08-03T22:24:59Z","title":"docsify 4.12.1 is affected by Cross Site Scripting (XSS) because the search component does not appropriately encode…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00785,"percentile":0.52603,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/docsifyjs/docsify/issues/1549","tags":["x_refsource_MISC"]}],"priority":{"score":10.5,"factors":[{"name":"EPSS percentile","points":10.52}]},"affected":[{"ecosystem":"npm","package":"docsify","vulnerableRanges":["<4.12.2"],"patched":["4.12.2"],"from":["GHSA-5h7x-68wj-jhwc"],"provenance":"source"}],"summary":{"text":"The search component of docsify 4.12.1 fails to properly encode code blocks and mishandles the double-quote character, creating a cross-site scripting flaw. An attacker can inject script that executes in a victim's browser when the affected search functionality processes crafted content.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:35Z"},"euvd":{"id":"EUVD-2022-2591","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-7680","published":"2020-07-20","fixed":"4.11.4","kev":false},{"cve":"CVE-2021-23342","published":"2021-02-19","fixed":"4.12.0","kev":false,"link":{"from":"CVE-2021-23342","to":"CVE-2021-30074","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:docsify","fromFixed":"4.12.0","toFixed":"4.12.2","daysApart":42}]}},{"cve":"CVE-2021-30074","published":"2021-04-02","fixed":"4.12.2","kev":false}],"package":"npm:docsify"}}