All rules →
Rules / Kotlin
SHIELD-KOTLIN-018

WebView JavaScript enabled with file access

highKotlinCWE-749CVSS 6.5

What it detects

Enabling JavaScript together with file access on a WebView can allow local file exfiltration by malicious scripts.

How to fix

Disable file access for WebViews that render remote content and only enable JavaScript when strictly required.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-018: WebView JavaScript enabled with file access — Zennoxa Shield