File tree Expand file tree Collapse file tree
java/ql/src/semmle/code/java/dataflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,11 @@ private predicate sourceModelCsv(string row) {
162162 "android.util;AttributeSet;false;getIdAttribute;;;ReturnValue;remote" ,
163163 "android.util;AttributeSet;false;getIdAttributeResourceValue;;;ReturnValue;remote" ,
164164 "android.util;AttributeSet;false;getPositionDescription;;;ReturnValue;remote" ,
165- "android.util;AttributeSet;false;getStyleAttribute;;;ReturnValue;remote"
165+ "android.util;AttributeSet;false;getStyleAttribute;;;ReturnValue;remote" ,
166+ // The current URL in a browser may be untrusted or uncontrolled.
167+ // WebViewGetUrlMethod
168+ "android.webkit;WebView;false;getUrl;();;ReturnValue;remote" ,
169+ "android.webkit;WebView;false;getOriginalUrl;();;ReturnValue;remote"
166170 ]
167171}
168172
Original file line number Diff line number Diff line change @@ -215,9 +215,7 @@ class DatabaseInput extends LocalUserInput {
215215private class RemoteTaintedMethod extends Method {
216216 RemoteTaintedMethod ( ) {
217217 this instanceof PlayRequestGetMethod or
218- this instanceof SpringRestTemplateResponseEntityMethod or
219- // The current URL in a browser may be untrusted or uncontrolled.
220- this instanceof WebViewGetUrlMethod
218+ this instanceof SpringRestTemplateResponseEntityMethod
221219 }
222220}
223221
You can’t perform that action at this time.
0 commit comments