-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
search.js v4.12.1 Cross-Site Scripting #1549
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
You should not write the wrong content... docsify does not filter errors content in the body. cc @docsifyjs/reviewers |
4 space or one tab for Code Blocks is a standard markdown syntax
i don't think this is a wrong content |
Okay, I tested it without spaces...
|
Yes, here's what I removed, I'm revisiting |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Steps to reproduce
1. create a simple docsify project
file tree
index.html
xss.md
_sidebar.md
2. start a http server
when user search something near XSS payload and the javascript which should rendering as markdown will be execute
3. input
x
in search filedWhat is current behaviour
What is the expected behaviour
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS: Mac OS
Node.js version: v12.19.0
npm/yarn version:
Browser version:
Docsify version: 4.12.1
Docsify plugins: search.js
Please create a reproducible sandbox
https://xl9pw.csb.app/
Mention the docsify version in which this bug was not present (if any)
The text was updated successfully, but these errors were encountered: