Skip to main content

Home Assistant CVE-2023-41895

CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2023-10-19 security-advisories@github.com
9.6
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.6 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
CVE Published
Oct 19, 2023 - 23:15 nvd
CRITICAL 9.6

DescriptionNVD

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.

AnalysisAI

Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.

Technical ContextAI

This vulnerability is classified as Cross-Site Scripting (XSS) (CWE-79), which allows attackers to inject malicious scripts into web pages viewed by other users. 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. Affected products include: Home-Assistant. Version information: version 2023.9.0.

RemediationAI

No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Sanitize all user input, use Content-Security-Policy headers, encode output contextually (HTML, JS, URL). Use frameworks with built-in XSS protection.

CVE-2023-27482 CRITICAL POC
10.0 Mar 08

homeassistant is an open source home automation tool. Rated critical severity (CVSS 10.0), this vulnerability is remotel

CVE-2023-41897 CRITICAL
9.6 Oct 19

Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp

CVE-2021-3152 MEDIUM POC
5.3 Jan 26

Home Assistant before 2021.1.3 does not have a protection layer that can help to prevent directory-traversal attacks aga

CVE-2023-41896 CRITICAL
9.0 Oct 19

Home assistant is an open source home automation. Rated critical severity (CVSS 9.0), this vulnerability is remotely exp

CVE-2023-50715 MEDIUM POC
4.3 Dec 15

Home Assistant is open source home automation software. Rated medium severity (CVSS 4.3), this vulnerability is no authe

CVE-2026-33044 HIGH
7.3 Mar 27

Cross-site scripting in Home Assistant's Map card component allows authenticated users to inject malicious JavaScript th

CVE-2023-41899 HIGH
7.2 Oct 19

Home assistant is an open source home automation. Rated high severity (CVSS 7.2), this vulnerability is remotely exploit

CVE-2017-16782 MEDIUM
6.1 Nov 10

In Home Assistant before 0.57, it is possible to inject JavaScript code into a persistent notification via crafted Markd

CVE-2023-41893 MEDIUM
5.4 Oct 20

Home assistant is an open source home automation. Rated medium severity (CVSS 5.4), this vulnerability is remotely explo

CVE-2023-41894 MEDIUM
5.3 Oct 20

Home assistant is an open source home automation. Rated medium severity (CVSS 5.3), this vulnerability is remotely explo

Share

CVE-2023-41895 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy