Vulnerability · Published Oct 14, 2025 · Assigned by GitHub_M

CVE-2025-62172Home Assistant vulnerable to Stored XSS in Energy dashboard from Energy Entity Name

High 8.5

In plain English

A high-severity cross-site scripting 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.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.5High
Exploit odds (30 days)0.4%top 62.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Home Assistant is open source home automation software that puts local control and privacy first. In versions 2025.1.0 through 2025.10.1, the energy dashboard is vulnerable to stored cross-site scripting. An authenticated user can inject malicious JavaScript code into an energy entity's name field, which is then executed when any user hovers over data points in the energy dashboard graph tooltips. The vulnerability exists because entity names containing HTML are not properly sanitized before being rendered in graph tooltips. This could allow an attacker with authentication to execute arbitrary JavaScript in the context of other users' sessions. Additionally, if an energy provider (such as Tibber) supplies a malicious default name for an entity, the vulnerability can be exploited without direct user action when the default name is used. This issue has been patched in version 2025.10.2. No known workarounds exist.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIhomeassistant2025.10.2GHSA-mq77-rv97-285m
PyPIhomeassistant2025.10.2PYSEC-2026-1453

Affected products (as reported)

VendorProductVersions
home-assistant core >= 2025.1.0, < 2025.10.2

Weakness: CWE-80, CWE-79 · 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:P

References