-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Swift: WebView JS-native bridge sources #11027
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
Swift: WebView JS-native bridge sources #11027
Conversation
This is what contains externally-provided data in Webview JS-native bridges
5557744
to
5ef8f9c
Compare
Better model the JSExport protocol logic
5ef8f9c
to
baf7986
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is complicated stuff, but they look like fantastic taint sources. A few comments / questions...
Model the source as an access to the tainted field, instead of the field itself (which didn't work)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with this and I'm really glad to have more remote flow sources!
Adds taint sources for JS-native bridges in WebViews. These are objects where JavaScript running in the WebView can execute native code, which can be exploited by malicious websites, or external attackers through XSS vulnerabilities, if it performs sensitive actions.