docsify
Affected
- introduced
0, fixed4.11.4(semver)
Fixed versions
4.11.4
Fix
- Fixed version
4.11.4npm install [email protected]
Advisory
Also known as: CVE-2020-7680, SNYK-JS-DOCSIFY-567099
Cross-site Scripting in docsify
docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS). Docsify.js uses fragment identifiers (parameters after # sign) to load resources from server-side .md files. Due to lack of validation here, it is possible to provide external URLs after the /#/ (domain.com/#//attacker.com) and render arbitrary JavaScript/HTML inside docsify page.
Medium Basis: The source's own band: MODERATE
0, fixed 4.11.4 (semver)4.11.4
4.11.4npm install [email protected]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
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0