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

Security issue: Gemtext link with a 'javascript:' URI execute JS when clicked #42

Open
acidus99 opened this issue Apr 10, 2022 · 0 comments

Comments

@acidus99
Copy link

Elaho will execute Javascript if when a user clicks a standard Gemtext link (=> javascript:alert(555) hello!)

This is similar to issue #41

Expected behavior: Elaho should not execute JavaScript found in javascript: URIs. URL schemes should probably follow an allow-list, where only specific, known schemes are allowed and operated on (e.g. http,https, gemini,mailto, etc)

image

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