Home / home-assistant / core / CVE-2023-41895
CVE-2023-41895: is it exploited, and which versions of home-assistant core are affected and fixed?
CVE-2023-41895 is a cross-site scripting (XSS) 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, 11:38 UTC). Affected: core < 2023.9.0 (CVE record by GitHub_M). Fixed in 2023.9.0 (NVD). Severity: High (8.8, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:35 UTC.
What is 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 `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.
From the CVE record by GitHub_M, last updated September 12, 2024, 15:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| home-assistant | core | < 2023.9.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.9.0 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:23 UTC.
How severe is CVE-2023-41895?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.6 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/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-41895 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.71% probability of exploitation activity in the next 30 days, percentile 54.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/home-assistant/core/security/advisories/GHSA-jvxq-x42r-f7mv x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- September 4, 2023
- Published
- October 19, 2023, 22:37 UTC
- CVE record updated
- September 12, 2024, 15:04 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, 11: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-41895
Is CVE-2023-41895 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 0.71% 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-41895?
core < 2023.9.0, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2023-41895?
2023.9.0, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-41895?
High (8.8, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-41895?
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.