MASWE-0071: WebViews Carregando Conteúdo de Fontes Não Confiáveis
Content in BETA
This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).
Placeholder Weakness
This weakness hasn't been created yet and it's a placeholder. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that weakness by following our guidelines.
Check our GitHub Issues for MASWE-0071
Initial Description or Hints¶
Objetos WebView não devem carregar URLs de fontes não confiáveis. Além disso, seu aplicativo não deve permitir que os usuários naveguem para sites que estão fora de seu controle. Sempre que possível, use uma allowlist para restringir o conteúdo carregado pelos objetos WebView do seu aplicativo e.g. via WebViewClient.shouldOverrideUrlLoading
Relevant Topics¶
- não restringir navegação
- não usar SafeBrowsing
- carregar URL de fontes não confiáveis e.g. intents ou deep links
MASTG v1 Coverage¶
No MASTG v1 tests are related to this weakness.