Vulnerability · Published Sep 22, 2026 · Assigned by GitHub_M
CVE-2026-91130Home Assistant: XSS in Statistics Graph Card
Critical 9.3
In plain English
A critical-severity security flaw in core from home-assistant. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | homeassistant | 2026.7.0 | GHSA-wx4m-69m9-gx3m |
| PyPI | homeassistant | 2026.7.0 | PYSEC-2026-4052 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| home-assistant | core | < 2026.7.0 |
Weakness: CWE-80 · 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
References
- https://github.com/home-assistant/core/security/advisories/GHSA-wx4m-69m9-gx3m x_refsource_CONFIRM
- https://github.com/home-assistant/frontend/pull/52235 x_refsource_MISC
- https://github.com/home-assistant/frontend/commit/b8c201b6d34414d30c622797366570185c219614 x_refsource_MISC
- https://github.com/home-assistant/core/releases/tag/2026.7.0 x_refsource_MISC