CVE-2020-7680

MEDIUMCVSS 6.1/10EPSS 4.50%

Last modified

CVE-2020-7680 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 4.50% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
4.50%

90.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
DocsifyjsDocsify< 4.11.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2020-7680?
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.
How severe is CVE-2020-7680?
CVE-2020-7680 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 4.50% probability of exploitation in the next 30 days.
How do I fix CVE-2020-7680?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2020-7680?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST