CVE-2023-41895: Cross-site Scripting via auth_callback login in Home Assistant Core
Home assistant is an open source home automation. The Home Assistant login page allows users to use their local Home Assistant credentials and log in to another website that specifies the redirecturi and clientid parameters. Although the redirecturi validation typically ensures that it matches the clientid and the scheme represents either http or https, Home Assistant will fetch the clientid and check for <link rel="redirecturi" href="..."> HTML tags on the page. These URLs are not subjected to the same scheme validation and thus allow for arbitrary JavaScript execution on the Home Assistant administration page via usage of javascript: scheme URIs. This Cross-site Scripting (XSS) vulnerability can be executed on the Home Assistant frontend domain, which may be used for a full takeover of the Home Assistant account and installation. This issue has been addressed in version 2023.9.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-41895?
CVE-2023-41895 is a vulnerability in Home Assistant, an open source home automation system, that allows users to log in to another website using their Home Assistant credentials.
How severe is CVE-2023-41895?
CVE-2023-41895 has a severity rating of 9.6, which is classified as critical.
What is the affected software of CVE-2023-41895?
The affected software of CVE-2023-41895 is Home Assistant version up to exclusive 2023.9.0.
How can CVE-2023-41895 be fixed?
To fix CVE-2023-41895, users should update their Home Assistant installation to a version that includes the security patch.
Where can I find more information about CVE-2023-41895?
More information about CVE-2023-41895 can be found in the official GitHub security advisory: https://github.com/home-assistant/core/security/advisories/GHSA-jvxq-x42r-f7mv