We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1087556 commit 013ff79Copy full SHA for 013ff79
java/ql/src/Security/CWE/CWE-200/AndroidWebViewSettingsFileAccess.ql
@@ -14,7 +14,9 @@ import java
14
import semmle.code.java.frameworks.android.WebView
15
16
from MethodAccess ma
17
-where ma.getMethod() instanceof CrossOriginAccessMethod
+where
18
+ ma.getMethod() instanceof CrossOriginAccessMethod and
19
+ ma.getArgument(0).(CompileTimeConstantExpr).getBooleanValue() = true
20
select ma,
21
"WebView setting " + ma.getMethod().getName() +
22
" may allow for unauthorized access of sensitive information."
0 commit comments