Vulnerability library
Security checkOctober 19, 2023

Docsify vulnerable to cross-site scripting due to mishandled encoding

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

docsify versions 4.12.1 and earlier are vulnerable to cross-site scripting (XSS) because the search component does not appropriately encode Code Blocks and mishandles the " character.

Recommendation

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

  • Affected version(s): <= 4.12.1
  • Patched version(s): 4.12.2

References

Could your website be exposed too?

SmartScanner can check your website for Docsify vulnerable to cross-site scripting due to mishandled encoding and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated October 19, 2023