You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/10/09 07:59:40 UTC

[GitHub] [cordova-android] vbraun commented on issue #1064: Android native bridge security concerns

vbraun commented on issue #1064:
URL: https://github.com/apache/cordova-android/issues/1064#issuecomment-706033217


   If the cross-origin iframe can access `window.frameElement` then it is unsafe in the browser, too. Without cordova you may not be able to run native code but you can still steal authentication tokens, overlay malicious login screens, etc. So I don't understand why you shouldn't assume that `frameElement` is `null`, if it isn't then you have so many other problems before you even get to the cordova native bridge.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org