Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: monoscript for addJavascriptInterface

...

For API level JELLY_BEAN or below, allowing an app to use the addJavascriptInterface method with untrusted content in a WebView leaves the app vulnerable to scripting attacks using reflection to access public methods from JavaScript.  The method addJavascriptInterface(Object, String) is called from the android.webkit.WebView class. Sensitive data and app control should not be exposed to a scripting attack.

...