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

Possibility of self-xss #651

Open
xxmuaddib opened this issue Aug 5, 2024 · 1 comment
Open

Possibility of self-xss #651

xxmuaddib opened this issue Aug 5, 2024 · 1 comment

Comments

@xxmuaddib
Copy link

If you put an executable script inside the input when in preview mode, self xss will happen. If you save, and other user can open the same page, for example, xss will happen.

Can this is be somehow handled on the side of the library or provide some code for sanitization somehow?

XSS attack example

<iframe srcDoc=""<img src=x onerror=alert('XSS attack')>">

Thanks!

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

No branches or pull requests

2 participants