Description
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.
Published: 2026-09-22
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: Client‑side XSS
Action: Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting flaw in the Statistics Graph card of Home Assistant. Prior to the 2026.7.0 release the card interpolated unescaped entity names into the HTML of an ECharts tooltip. An attacker who can supply or modify a default entity name—either by authenticating to the system or by controlling an integration that introduces a malicious name—can cause arbitrary JavaScript to run in the browser of any user who hovers over the chart. This permits execution of client‑side code in the victim’s session, which could be used for phishing, credential theft, or other malicious actions, although the CVE description does not explicitly state these outcomes.

Affected Systems

The flaw exists in the Home Assistant core component (home‑assistant:core). All releases prior to 2026.7.0 are affected. The Statistics Graph card, when rendered with the default line chart configuration (Mean, State, Sum, Change), is vulnerable; bar charts are not.

Risk and Exploitability

The CVSS score of 9.3 signifies a high severity level. EPSS data is not available, so the current likelihood of exploitation cannot be quantified. The flaw is not listed in the CISA KEV catalog. Exploitation requires the attacker to have a normal user account or to control an integration that can inject a malicious default entity name. Once a user hovers over the chart, the script executes in that user’s browser, enabling client‑side code execution. No network‑level attack is required, so the attack path is local or limited to the web interface.

Generated by OpenCVE AI on September 22, 2026 at 21:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Home Assistant core to version 2026.7.0 or later where the issue is fixed.
  • Verify that all integrations and configuration files do not contain untrusted or malicious default entity names; remove or correct any offending names.
  • If an immediate upgrade is not possible, restrict or disable the Statistics Graph card for untrusted users, or reconfigure the chart to a non‑vulnerable type such as a bar chart until the patch is applied.

Generated by OpenCVE AI on September 22, 2026 at 21:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-wx4m-69m9-gx3m Home Assistant: XSS in Statistics Graph Card
History

Tue, 22 Sep 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Home-assistant
Home-assistant core
Vendors & Products Home-assistant
Home-assistant core

Tue, 22 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 22 Sep 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Home Assistant: XSS in Statistics Graph Card
Weaknesses CWE-80
References
Metrics cvssV4_0

{'score': 9.3, 'vector': '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'}


Subscriptions

Home-assistant Core
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-22T19:41:01.261Z

Reserved: 2026-09-14T19:36:48.844Z

Link: CVE-2026-91130

cve-icon Vulnrichment

Updated: 2026-09-22T19:40:07.560Z

cve-icon NVD

Status : Received

Published: 2026-09-22T19:16:56.700

Modified: 2026-09-22T20:17:11.607

Link: CVE-2026-91130

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-22T21:15:07Z

Weaknesses
  • CWE-80

    Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)