CVE-2026-91130home-assistant core
XSS Injection in Home Assistant Core Statistics Chart
Critical 9.3
Follow: this CVE · home-assistant · home-assistant core We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 22, 2026
- Updated
- Sep 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-80
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
The Statistics Graph card in Home Assistant Core prior to 2026.7.0 failed to properly escape entity names in ECharts tooltips. An authenticated user or integration with a malicious entity name could execute JavaScript code when a user hovered over a data point in line charts (Mean, State, Sum, Change fields).
Show the original NVD text
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.
What to do
Patch available · fixed versions: 2026.7.0
Update Home Assistant Core to version 2026.7.0 or later to receive the security patch.
- Apply the vendor's security update for core.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | homeassistant |
< 2026.7.0 |
2026.7.0 |
pip install "homeassistant>=2026.7.0" |
| PyPI | homeassistant |
< 2026.7.0 |
2026.7.0 |
pip install "homeassistant>=2026.7.0" |
Per OSV / GitHub Advisories (GHSA-wx4m-69m9-gx3m, PYSEC-2026-4052). Check the version in your lockfile before upgrading.
Affected products
- home-assistant · core
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.