Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| home-assistant / core | affected < 2026.7.0 |
CWE
CWE-80
References
- https://github.com/home-assistant/core/security/advisories/GHSA-wx4m-69m9-gx3m
- https://github.com/home-assistant/frontend/pull/52235
- https://github.com/home-assistant/frontend/commit/b8c201b6d34414d30c622797366570185c219614
- https://github.com/home-assistant/core/releases/tag/2026.7.0
ADP enrichment
No English description supplied.