CVE-2020-7680

published 20 Jul 2020 · updated 4 Aug 2024

docsify prior to 4.11.4 is susceptible to Cross-site Scripting (XSS)

6.0MediumEPSS 5%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=All versions prior to 4.11.4

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2020-7680 severity on Zeptric[![CVE-2020-7680](https://zeptric.io/badge/cve/CVE-2020-7680.svg)](https://zeptric.io/cve/CVE-2020-7680)