← Vulnerability feed

Vulnerability record · CVE-2023-41895 · published 19 October 2023

CVE-2023-41895: Home-assistant cross-site scripting vulnerability

Home Assistant · Home Assistant

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 `redirect_uri` and `client_id` parameters. Although the `redirect_uri` validation typically ensures that it matches the `client_id` and the scheme represents either `http` or `https`, Home Assistant will fetch the `client_id` and check for `<link rel="redirect_uri" 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.

9.6 CVSS 3.1 Critical EPSS 0.67% · top 50.0% CWE-79 · Cross-site scripting
9.6CVSS 3.1 base score
0.67%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

Description

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 `redirect_uri` and `client_id` parameters. Although the `redirect_uri` validation typically ensures that it matches the `client_id` and the scheme represents either `http` or `https`, Home Assistant will fetch the `client_id` and check for `<link rel="redirect_uri" 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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-41895 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2023-27482Home Assistant Supervisor authentication bypass via APIHome Assistant Supervisor 2023.01.1 and older contains an improper authentication flaw (CWE-287) that lets a remote attacker bypass authentication an…EPSS 72%analysed9.6CVE-2023-41897Home-assistant clickjacking vulnerabilityHome assistant is an open source home automation. Home Assistant server does not set any HTTP security headers, including the X-Frame-Options header,…EPSS 0.95%9.0CVE-2023-41896Home-assistant insufficient verification of data authenticity vulnerabilityHome assistant is an open source home automation. Whilst auditing the frontend code to identify hidden parameters, Cure53 detected `auth_callback=1`,…EPSS 0.27%7.6CVE-2026-54317Home-assistant information exposure vulnerabilityHome Assistant is open source home automation software that puts local control and privacy first. Prior to 2026.6.0, the Konnected integration regist…EPSS 0.31%7.5CVE-2020-36517Home-assistant observable discrepancy vulnerabilityAn information leak in Nabu Casa Home Assistant Operating System and Home Assistant Supervised 2022.03 allows a DNS operator to gain knowledge about …EPSS 2.9%7.5CVE-2018-21019Home-assistant information exposure vulnerabilityHome Assistant before 0.67.0 was vulnerable to an information disclosure that allowed an unauthenticated attacker to read the application's error log…EPSS 1.7%7.3CVE-2026-33045Home-assistant cross-site scripting vulnerabilityHome Assistant is open source home automation software that puts local control and privacy first. Starting in version 2025.02 and prior to version 20…EPSS 0.25%7.3CVE-2026-33044Home-assistant cross-site scripting vulnerabilityHome Assistant is open source home automation software that puts local control and privacy first. Starting in version 2020.02 and prior to version 20…EPSS 0.28%

Source: NIST National Vulnerability Database (record CVE-2023-41895), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.