{"cve":"CVE-2021-23342","nvd":{"published":"2021-02-19T17:15:13.717","modified":"2026-06-17T03:38:35.400","status":"Modified","description":"This affects the package docsify before 4.12.0. It is possible to bypass the remediation done by CVE-2020-7680 and execute malicious JavaScript through the following methods 1) When parsing HTML from remote URLs, the HTML code on the main page is sanitized, but this sanitization is not taking place in the sidebar. 2) The isURL external check can be bypassed by inserting more “////” characters","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["http://packetstormsecurity.com/files/161495/docsify-4.11.6-Cross-Site-Scripting.html","http://seclists.org/fulldisclosure/2021/Feb/71","https://github.com/docsifyjs/docsify/commit/ff2a66f12752471277fe81a64ad6c4b2c08111fe","https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1076593","https://snyk.io/vuln/SNYK-JS-DOCSIFY-1066017"],"products":["docsifyjs:docsify"],"source":"nvd","synced_at":"2026-10-19T21:15:50.279857260+00:00"},"epss":{"cve":"CVE-2021-23342","score":0.01657,"percentile":0.76612,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-2mm9-c2fx-c7m4","url":"https://osv.dev/vulnerability/GHSA-2mm9-c2fx-c7m4","summary":"Docsify XSS Vulnerability","modified":"2025-01-14T08:56:53.466906Z","packages":[{"ecosystem":"npm","name":"docsify","purl":"pkg:npm/docsify","ranges":["<4.12.0"],"fixed":["4.12.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}