vetkit.java.android.webview-universal-file-access
A WebView lets file:// pages read other files or any origin (setAllowUniversalAccessFromFileURLs/setAllowFileAccessFromFileURLs).
Last updated:
Suite: Security
java
A WebView lets file:// pages read other files or any origin (setAllowUniversalAccessFromFileURLs/setAllowFileAccessFromFileURLs).
Category: SECURITY · Engine rule severity: ERROR
How to fix it
Keep both settings false (the default since API 16) and serve local content through WebViewAssetLoader.
References
Source: packages/engine/rules/sast/java.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.