CVE-2020-7680

Medium

Description

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.

SeverityMedium
CVSS6.1
Exploit probability92. percentile4.5%
ProductDocsify
PublishedJul 20, 2020
First seenJul 20, 2020

How to fix

Update
  • docsifyjs docsify4.11.4 or later
  • docsify4.11.4 or later

Affected products

ProductAffected versionsFixed in
docsifyjs docsifyv < 4.11.44.11.4
docsifynpmv < 4.11.44.11.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.