Skip to main content
← All vulnerabilities
CVE-2021-23342GHSA-2MM9-C2FX-C7M4

Cross-site Scripting (XSS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.12.0
None on Exploit-DB, Metasploit or GitHub

Summary

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. 2) The isURL external check can be bypassed by inserting more “////” characters

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a docsify

    fixed in 4.12.0

  • docsifynpm

    fixed in 4.12.0

References 5

snyk.io

GitHub · docsifyjs/docsify

seclists.org

packetstormsecurity.com