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

navigate can leak into other domains #212

Open
kotx opened this issue Jun 18, 2021 · 1 comment
Open

navigate can leak into other domains #212

kotx opened this issue Jun 18, 2021 · 1 comment

Comments

@kotx
Copy link

kotx commented Jun 18, 2021

Using something like navigate("//google.com") the router will navigate to //google.com. (Pretty much any URL will work)

Is this intentional? If so, what's the recommended way to sanitize inputs?

@kotx
Copy link
Author

kotx commented Jun 18, 2021

Even navigate("javascript:alert(1)") will work which doesn't seem intended.

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

1 participant