CVE-2026-91130

Home Assistant: XSS in Statistics Graph Card

Published Sep 22, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Home-assistant
Home-assistant core
Vendors & Products Home-assistant
Home-assistant core
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-80

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 22, 2026, 7:41 PM
Reserved
Sep 14, 2026, 7:36 PM
Status
Awaiting Analysis
Published
Sep 22, 2026, 7:16 PM
Modified
Sep 23, 2026, 6:12 PM