Vulnerability library
Security checkSeptember 13, 2023

Docsify XSS Vulnerability

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmdocsify

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

Update the docsify package to the latest compatible version. Followings are version details:

  • Affected version(s): < 4.12.0
  • Patched version(s): 4.12.0

References

Could your website be exposed too?

SmartScanner can check your website for Docsify XSS Vulnerability and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 13, 2023