We have scanned my application using HP fortify ,approximately 90% of the high and critical issues are related to the Cordova framework.
Dynamic Code Evaluation: Code Injection Critical
Package: org.apache.cordova.engine
CordovaLib/src/org/apache/cordova/engine/SystemWebViewEngine 2.java, line (Dynamic Code Evaluation: Code Injection)
Critical
Issue Details
Kingdom: Input Validation and Representation Scan Engine: SCA (Structural)
Sink Details
Sink: FunctionCall: addJavascriptInterface Enclosing Method: exposeJsInterface() File: CordovaLib/src/org/apache/cordova/engine/SystemWebViewEngine 2.java: Taint Flags:
return; }
SystemExposedJsApi exposedJsApi = new SystemExposedJsApi(bridge);
webView.addJavascriptInterface(exposedJsApi, "_cordovaNative");
}