vetkit.kotlin.android.webview-universal-file-access
A WebView lets file:// pages read other files or any origin (allowUniversalAccessFromFileURLs/allowFileAccessFromFileURLs).
Last updated:
Suite: Security
kotlin
A WebView lets file:// pages read other files or any origin (allowUniversalAccessFromFileURLs/allowFileAccessFromFileURLs).
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/kotlin.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.