Skip to content
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

[Docs] Add warning about XSS #149

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

lionel-rowe
Copy link

Closes #112

I think it's best _not_ to try to prevent XSS within the demo so users can accurately
see the results _without_ any sanitization, but users should at least be able to test
things like <img src=x onerror=alert(1)> within the editor without causing infinite
loops. Triggering on keyup was causing the alert to be re-fired upon pressing Escape
to close it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mutation XSS + general sanitization
1 participant