Headline
CVE-2023-41898: Arbitrary URL load in Android WebView in `MyActivity.kt`
Home assistant is an open source home automation. The Home Assistant Companion for Android app up to version 2023.8.2 is vulnerable to arbitrary URL loading in a WebView. This enables all sorts of attacks, including arbitrary JavaScript execution, limited native code execution, and credential theft. This issue has been patched in version 2023.9.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability. This issue is also tracked as GitHub Security Lab (GHSL) Vulnerability Report: GHSL-2023-142
.
The GitHub Security Lab team has identified a potential security vulnerability in Home Assistant Companion for Android.
Summary
The Home Assistant Companion for Android app up to version 2023.8.2 is vulnerable to arbitrary URL loading in a WebView. This enables all sorts of attacks, including arbitrary JavaScript execution, limited native code execution, and credential theft.
Credit
This issue was discovered and reported by the GitHub CodeQL team member @atorralba (Tony Torralba).
GitHub Security Lab (GHSL) Vulnerability Report: GHSL-2023-142