Open KodyJKing opened 11 months ago
Certainly something we will look at though we don't really recommend navigating to untrusted sites in your desktop apps!
Makes sense. My app should stay on localhost, but I'm anxious about my attack surface including any library that can affect navigation.
Yeah for sure, but there would need to be quite a lot of knowledge on the internal calls to construct something that didn't error. We will of course look at ways to mitigate this.
Description
On the WebView2 frontend, if a Wails app navigates to an external site, that site can call any exposed backend APIs. This seems like a social engineering risk if an attacker finds any sneaky way to get a user to navigate away from localhost.
To Reproduce
Expected behaviour
The backend ignores messages posted from this origin.
Screenshots
No response
Attempted Fixes
No response
System Details
Additional context
No response