gemini-ios icon indicating copy to clipboard operation
gemini-ios copied to clipboard

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

Open acidus99 opened this issue 3 years ago • 0 comments

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

acidus99 avatar Apr 10 '22 13:04 acidus99