Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate or supply malicious integration
-
DeliverySet crafted entity name as payload
-
ExploitStore in Line chart config (Mean/State/Sum/Change)
-
ExecutionVictim hovers data point in Statistics Graph
-
PersistUnescaped seriesName renders in tooltip
-
ImpactScript executes in viewer session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTML tag escaping
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the Statistics Graph card configured as a default Line chart displaying Mean, State, Sum, or Change fields (Bar charts are explicitly NOT affected). An attacker must be either an authenticated Home Assistant user or a malicious/compromised integration able to set an entity's default name to a payload (PR:L). A separate victim must then actively hover the mouse over an affected data point for the tooltip to render and execute the injected HTML (UI:A). Limiting factors: authentication/integration access to set the name, the specific default Line-chart configuration, the required hover interaction, and running a frontend prior to 2026.7.0. |
| Impact | This is a stored/DOM cross-site scripting flaw (CWE-80) in the Home Assistant frontend Statistics Graph card, where entity names flow through getStatisticLabel/computeStateName and are interpolated into ECharts tooltip HTML without escaping. The vendor CVSS 4.0 score of 9.3 (all impact metrics High, including subsequent-system SC:H/SI:H/SA:H) is substantially inflated for a client-side XSS: real impact is script execution in a viewer's browser session, which realistically yields confidentiality and integrity loss over the Home Assistant session (potential account/instance takeover), not the guaranteed full availability and subsequent-system compromise the vector claims. The CVSS 4.0 vector correctly captures the two genuine gates - PR:L (an authenticated user OR a malicious integration must supply the crafted default entity name) and UI:A (a viewer must actively hover over the affected data point), which meaningfully constrain exploitation. No EPSS score, no CISA KEV listing, and no public proof-of-concept were provided; only a fixed release (2026.7.0), a GHSA advisory (GHSA-wx4m-69m9-gx3m), and the remediating frontend commit/PR (#52235) are confirmed. Net: a real, legitimately-tracked XSS worth patching, but not a wormable, unauthenticated, actively-exploited emergency - the 9.3 overstates real-world severity, and priority should be treated as moderate given the authentication and hover-interaction prerequisites. |
| Exploit ScenarioDerived | An authenticated Home Assistant user (or a compromised/malicious integration) sets an entity's default name to a string containing script-related HTML. When another user - potentially an admin - views a default Line-type Statistics Graph card and hovers over a Mean, State, Sum, or Change data point, the unescaped seriesName renders in the ECharts tooltip and the injected markup executes in the victim's browser session. No public exploit code is identified, but the injection path and fix are documented in the GHSA advisory and frontend commit b8c201b. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 22, 2026
Stored/DOM cross-site scripting in the Home Assistant frontend Statistics Graph card lets an authenticated user or a malicious integration inject script-related HTML through an entity's default name, which is passed through getStatisticLabel and computeStateName and interpolated unescaped into ECharts tooltip HTML. The payload renders only when a separate victim hovers over an affected data point in a default Line chart (Bar charts are not affected), so exploitation needs low-privilege authenticated access plus victim interaction, and is therefore rated CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N rather than the vendor-published 9.3 base. No public exploit code or confirmed in-the-wild exploitation has been identified, and the flaw is fixed in Home Assistant 2026.7.0.
RemediationAI
Vendor-released patch: upgrade Home Assistant core to 2026.7.0 or later (https://github.com/home-assistant/core/releases/tag/2026.7.0), which incorporates the frontend fix from commit b8c201b6d34414d30c622797366570185c219614 and https://github.com/home-assistant/frontend/pull/52235; consult GHSA-wx4m-69m9-gx3m for the vendor's official guidance. Until the upgrade is applied, the most effective compensating control is to restrict who can create entities and rename them - only trusted administrators should be able to author entity friendly names, and untrusted or third-party HACS/custom integrations should be disabled or audited, since a malicious integration can supply the payload without any user action (trade-off: this curtails legitimate self-service configuration and can break intended automations). Where the vulnerable card is not essential, switching Statistics Graph displays from the default Line chart to Bar charts removes the affected rendering path, because only Line chart Mean/State/Sum/Change tooltips interpolate the unescaped label (trade-off: loss of line-chart visualization and trend comparison). Requiring an explicit hover means blocking the tooltip interaction is impractical, but exposing the dashboard only to trusted networks and keeping untrusted accounts at the lowest possible privilege reduces the authenticated (PR:L) foothold the exploit needs. Note that no vendor patch beyond the 2026.7.0 release line was identified in the available data.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Home Assistant is an open-source home automation platform whose dashboard frontend is built on Lit web components and renders statistics with Apache ECharts. In src/components/chart/statistics-chart.ts the card piped entity names through getStatisticLabel and computeStateName and then sliced param.seriesName directly into the ECharts tooltip HTML template without output encoding, an instance of CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page, i.e. basic XSS). The vulnerable code path previously relied on filterXSS for series names, but tooltip formatter strings built from the statistic label bypassed that sanitization; the fix in commit b8c201b6d34414d30c622797366570185c219614 introduces a Lit-aware tooltip formatter wrapper (wrapLitTooltipFormatter), a dedicated ha-chart-tooltip-marker element, HaECOption/HaECSeries typing, and shallow copies of tooltip options so render-time mutations no longer pollute memoized caller objects. Only the default Line chart configuration was exposed - the Mean, State, Sum and Change fields - because Bar charts construct their tooltips differently, which is why the affected product surface is narrow but the injection is stored (an integration or user controls the entity name that is persisted and later rendered for other viewers).
Know when Home Assistant gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Authenticated actor or malicious integration must plant the name (PR:L) and a viewer must hover (UI:R); script runs in the victim's browser context (S:C) enabling session/data theft (C:H) and limited actions (I:L), with no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Home Assistant is open source home automation software focused on local control and privacy. Prior to 2026.7.0, the Statistics Graph card in src/components/chart/statistics-chart.ts passed entity names through getStatisticLabel and computeStateName and interpolated param.seriesName into ECharts tooltip HTML without escaping. An authenticated user or an integration that supplies a malicious default entity name could cause script-related HTML to execute when a viewer hovered over a data point. Mean, State, Sum, and Change fields in the default Line chart configuration were affected, while Bar charts were not. This issue is fixed in version 2026.7.0.
Blast Radius
ecosystem impact- 3 pypi packages depend on homeassistant (3 direct, 0 indirect)
Ecosystem-wide dependent count for version 2026.7.0.
Technical POC Analysis
This is CWE-80, improper neutralization of script-related HTML tags.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
Home Assistant's Statistics Graph card contains a stored cross-site scripting vulnerability that allows a low-privilege authenticated user or a malicious integration to inject malicious code, which executes when a victim hovers over a chart data point. This could lead to session hijacking, theft of sensitive smart home data, and lateral movement within connected networks. Leadership should prioritize remediation because the platform is widely used for home and building automation, and the required user interaction is common, increasing the likelihood of exploitation.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Home Assistant
View allhomeassistant is an open source home automation tool. Rated critical severity (CVSS 10.0), this vulnerability is remotel
Home Assistant Community Store (HACS) 1.10.0 contains a path traversal vulnerability that allows unauthenticated attacke
Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp
Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp
Path-traversal to remote code execution in Home Assistant Core before 2026.6.0 lets an authenticated user who can supply
Home Assistant before 2021.1.3 does not have a protection layer that can help to prevent directory-traversal attacks aga
Arbitrary file write in Home Assistant Core before 2026.6.0 lets unauthenticated attackers plant attacker-controlled fil
Home assistant is an open source home automation. Rated critical severity (CVSS 9.0), this vulnerability is remotely exp
The Home Assistant Companion for iOS and macOS app up to version 2023.4 are vulnerable to Client-Side Request Forgery. R
Stored cross-site scripting in the Home Assistant Energy dashboard (versions 2025.1.0 through 2025.10.1) lets an authent
Cross-origin JavaScript injection in Home Assistant Companion apps for Android (before 2026.4.4) and iOS (before 2026.4.
Home Assistant is open source home automation software. Rated medium severity (CVSS 4.3), this vulnerability is no authe
EUVD-2026-84803
GHSA-wx4m-69m9-gx3m
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB