Home / home-assistant / core / CVE-2023-41896
CVE-2023-41896: is it exploited, and which versions of home-assistant core are affected and fixed?
CVE-2023-41896 is a data authenticity not verified vulnerability in home-assistant core. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:38 UTC). Affected: core Home Assistant Core : < 2023.8.0 and core home-assistant-js-websocket: < 8.2.0 (CVE record by GitHub_M). Fixed in 2023.8.0 and 8.2.0 (NVD). Severity: High (7.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-41896?
Fake websocket server installation permits full takeover in Home Assistant Core
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.
From the CVE record by GitHub_M, last updated September 12, 2024, 15:06 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| home-assistant | core | Home Assistant Core : < 2023.8.0 home-assistant-js-websocket: < 8.2.0 |
As the CVE record by GitHub_M states it, last updated September 12, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| home-assistant | home-assistant | before 2023.8.0 | application |
| home-assistant | home-assistant-js-websocket | before 8.2.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:23 UTC.
How severe is CVE-2023-41896?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-41896 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, September 12, 2024)
- EPSS
- 0.32% probability of exploitation activity in the next 30 days, percentile 26.3 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-345 Insufficient Verification of Data Authenticity
Where are the vendor advisories and references?
- https://github.com/home-assistant/core/security/advisories/GHSA-cr83-q7r2-7f5q x_refsource_CONFIRM
- https://github.com/home-assistant/core/security/advisories/GHSA-935v-rmg9-44mw x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 4, 2023
- Published
- October 19, 2023, 22:30 UTC
- CVE record updated
- September 12, 2024, 15:06 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:23 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 12:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect core?
- Sep 22, 2026CVE-2026-91129 home-assistant core: server-side request forgery (SSRF)
- Sep 22, 2026CVE-2026-91130 home-assistant core: cross-site scripting (XSS)
- Aug 7, 2026CVE-2026-66061 home-assistant core: missing authorization
- Aug 7, 2026CVE-2026-66060 home-assistant core: missing authorization
- Aug 7, 2026CVE-2026-59717 home-assistant core: open redirect
- Jun 29, 2026CVE-2026-55844 home-assistant core: sensitive data sent in clear text
- Jun 23, 2026CVE-2026-54318 home-assistant core: improper Export of Android Application Components
- Jun 23, 2026CVE-2026-54317 home-assistant core: information disclosure
Questions about CVE-2023-41896
Is CVE-2023-41896 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:38 UTC. FIRST's EPSS gives it a 0.32% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of home-assistant core are affected by CVE-2023-41896?
core Home Assistant Core : < 2023.8.0 and core home-assistant-js-websocket: < 8.2.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-41896?
2023.8.0 and 8.2.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-41896?
High (7.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-41896?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.