Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2023-41896
home-assistant

Score9 Critical
CVSS 3.1
Exploit probability (EPSS)0.38%
within the next 30 days
CategoryAuthentication & session
Published19 October 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, if a user clicks a link, opens a file or similar.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

The impact can spread beyond the vulnerable component.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Home assistant is an open source home automation. Whilst auditing the frontend code to identify hidden parameters, Cure53 detected `auth_callback=1`, which is leveraged by the WebSocket authentication logic in tandem with the `state` parameter. The state parameter contains the `hassUrl`, which is subsequently utilized to establish a WebSocket connection. This behavior permits an attacker to create a malicious Home Assistant link with a modified state parameter that forces the frontend to connect to an alternative WebSocket backend. Henceforth, the attacker can spoof any WebSocket responses and trigger cross site scripting (XSS). Since the XSS is executed on the actual Home Assistant frontend domain, it can connect to the real Home Assistant backend, which essentially represents a comprehensive takeover scenario. Permitting the site to be iframed by other origins, as discussed in GHSA-935v-rmg9-44mw, renders this exploit substantially covert since a malicious website can obfuscate the compromise strategy in the background. However, even without this, the attacker can still send the `auth_callback` link directly to the victim user. To mitigate this issue, Cure53 advises modifying the WebSocket code’s authentication flow. An optimal implementation in this regard would not trust the `hassUrl` passed in by a GET parameter. Cure53 must stipulate the significant time required of the Cure53 consultants to identify an XSS vector, despite holding full control over the WebSocket responses. In many areas, data from the WebSocket was properly sanitized, which hinders post-exploitation. The audit team eventually detected the `js_url` for custom panels, though generally, the frontend exhibited reasonable security hardening. This issue has been addressed in Home Assistant Core version 2023.8.0 and in the npm package home-assistant-js-websocket in version 8.2.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

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

Weakness: CWE-345

Affected products

VendorProductVersions
home-assistanthome-assistant<2023.8.0
home-assistanthome-assistant-js-websocket<8.2.0

Sources

Latest in the same category

  • CVE-2026-140123 Medium 6.3
    changedetection.io before 0.71.1 contains a missing authentication vulnerability in the static_content handler that allows unauthenticated attackers to access watch data when the password is set via SALTED_PASS.…
    Authentication & session · 1 December 2026
  • CVE-2026-90958 Critical 9.1
    A flaw was found in FreeIPA. When AD-trust/SMB support is enabled, SMB/NTLM authentication does not increment the account-lockout failure counter used by Kerberos authentication, allowing an attacker to make unlimited…
    Authentication & session · 30 November 2026
  • CVE-2026-108122 Critical 9.8
    A flaw was found in FreeIPA. When NT hash generation is disabled, the `ipaNTHash` attribute written on the next password change is a predictable all-zero value instead of being left unset. FreeIPA's Samba passdb…
    Authentication & session · 30 November 2026
  • CVE-2026-128967 High 7
    The ldap-auth and ldap-auth-advanced plugins in Kong Gateway Enterprise and Kong AI Gateway key their credential cache without the TLS settings, allowing a man-in-the-middle attacker to have credentials validated…
    Authentication & session · 30 November 2026
  • CVE-2026-139818 Medium 5.3
    A weakness has been identified in vllm-project vLLM up to 0.34.0. The impacted element is the function ProcessorInputs.get_mm_hashes of the file vllm/multimodal/processing/inputs.py of the component Multimodal…
    Authentication & session · 30 November 2026
  • CVE-2026-138670 Critical 9.3
    A weakness has been identified in TOTOLINK X6000R up to 9.4.0cu.1458_B20250708. The impacted element is the function setStaticDhcpRules/arp_bind of the file /usr/sbin/shttpd. Executing a manipulation of the argument ip…
    Authentication & session · 30 November 2026