Skip to main content

Home Assistant CVE-2025-62172

HIGH
Cross-site Scripting (XSS) (CWE-79)
2025-10-14 security-advisories@github.com
8.5
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain authenticated access or malicious integration
  2. Delivery
    Inject JS into energy entity name field
  3. Exploit
    Payload stored unsanitized in entity friendly_name
  4. Execution
    Victim hovers over Energy dashboard data point
  5. Persist
    Arbitrary JavaScript executes in victim session
  6. Impact
    Hijack session / control home automation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account with permission to create or rename an energy entity (the injected payload is placed in the entity's name/friendly_name field), OR an energy-provider integration (e.g. Tibber) that supplies a malicious default entity name - the latter removes the need for a local attacker account. Execution additionally requires a victim to open the Energy dashboard and hover over a graph data point (UI:A), so the Energy dashboard must be configured and in use. Limiting factors: authentication is needed for the direct vector (PR:L), victim interaction is mandatory (no automatic execution for a stationary page view), and impact is scoped to the browser session of users who view the dashboard. No workarounds exist other than upgrading to 2025.10.2.

Impact

This is a genuine but conditionally-gated issue rather than a drop-everything emergency. The CVSS 4.0 base score of 8.5 (High) is driven by the vendor rating full High impact on both the vulnerable and subsequent systems (VC/VI/VA:H, SC/SI/SA:H), reflecting that arbitrary JavaScript running in another user's Home Assistant session can manipulate a home-automation controller. However, the same vector requires PR:L (an authenticated attacker) and UI:A (the victim must actively hover over a tooltip), which meaningfully constrains real-world exploitation. The signals are consistent with a lower-urgency profile: EPSS is only 0.42% (34th percentile), there is no CISA KEV listing (confirmed actively exploited: no), and no public exploit identified at time of analysis - the GitHub Security Advisory demonstrates the flaw with screenshots but does not publish weaponized exploit code. The one factor that elevates concern beyond a typical authenticated stored-XSS is the secondary vector: a malicious or compromised energy-provider integration (the advisory names Tibber) could supply a malicious default entity name, removing the need for a local authenticated attacker and turning this into a supply-side injection against anyone viewing the Energy dashboard. Net: real priority for internet-exposed or multi-user Home Assistant instances, lower for single-user LAN-only deployments. Note the impact ratings are the vendor's assessment; classic stored XSS impact can be contested (see assessed vectors below).

Exploit ScenarioDerived

An authenticated Home Assistant user (or a compromised/malicious energy integration such as Tibber supplying a default name) sets an energy entity's name to a string containing an HTML/JavaScript payload. The payload is stored unsanitized and later rendered in the Energy dashboard graph tooltip; when any other user - including an administrator - hovers over a data point, the script executes in their session. No public exploit code is identified, though the advisory includes a working proof-of-concept demonstration.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Stored cross-site scripting in the Home Assistant Energy dashboard (versions 2025.1.0 through 2025.10.1) lets an authenticated user embed HTML/JavaScript in an energy entity's name field, which is rendered unsanitized in the graph tooltip and executes when any user hovers over a data point. The same weakness is reachable without a local attacker account if an energy-provider integration such as Tibber supplies a malicious default entity name, and according to the reporter it can affect any entity with an HTML entity in its name that is rendered in the graph view. As of this analysis there is no CISA KEV listing and no public exploit identified; EPSS is low at 0.42% (34th percentile), and the assessment is that this is a genuine but conditionally-gated issue requiring authentication for the direct vector plus victim hover interaction, rather than a drop-everything emergency. A vendor patch exists in 2025.10.2.

RemediationAI

Vendor-released patch: upgrade Home Assistant to version 2025.10.2 or later, which is the only complete fix and the only remediation the advisory endorses - the advisory states no known workarounds exist and the independent assessment confirms nothing short of upgrading to 2025.10.2 resolves it. Because deployment guidance does not exist beyond the upgrade, organizations that cannot immediately patch should reduce exposure by restricting which accounts hold permissions to create or rename energy entities and by reviewing and cleansing entity names and friendly names for markup (this is a partial control, since a provider-supplied default name such as one from the Tibber integration can deliver the payload without any local rename and would not be covered by permission tightening; the trade-off is loss of flexibility in who can manage the energy configuration). Avoiding or disabling untrusted third-party energy-provider integrations that populate default entity names removes the no-interaction provider vector but sacrifices the provider's data feed. Until the upgrade is applied, treat Energy dashboard sessions as at risk and consider limiting who routinely views the dashboard, accepting that this does not prevent exploitation and only narrows the population of sessions a stored payload can hit. Validate the fix in a staging instance before fleet-wide rollout and consult the vendor advisory at https://github.com/home-assistant/core/security/advisories/GHSA-mq77-rv97-285m for any updates.

Affected Packages

pypi homeassistant fix: 2025.10.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation / cross-site scripting), specifically a stored XSS in the Home Assistant frontend Energy dashboard. Per the GitHub advisory, the offending code is in src/panels/lovelace/cards/energy/hui-energy-devices-graph-card.ts, where a tooltip string is built with a template literal of the form ${title}${params.marker} ${params.seriesName}: ${value}; the seriesName value derives from the entity's power/energy name and, failing that, the friendly_name, and the only transformation applied is replacing underscores with spaces via _computeObjectId(entityId).replace(/_/g, " "). Because no HTML escaping is performed before the value is interpolated into tooltip markup, an entity name containing HTML is parsed as markup in the browser, and the payload executes in the context of the session viewing the dashboard. The affected distribution package is pip/homeassistant, vulnerable in the range >= 2025.1.0 and <= 2025.10.1. The vulnerability is scoped to the browsing session of users viewing the Energy dashboard rather than to the Home Assistant server or its automation engine, and the reporter notes the issue is not limited to the Energy integration itself - the user-controlled entity name path is generic, and provider-supplied default names (for example from Tibber) can deliver the payload without a local actor.

Know when Home Assistant gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 8.5 HIGH
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
vuln.today AI 8.7 HIGH

Authenticated attacker stores payload (PR:L); victim must hover to trigger (UI:R); XSS executes in another user's browser so scope changes (S:C), enabling session/home-automation control (C:H/I:H), no direct availability impact (A:N).

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Home Assistant's Energy dashboard (versions 2025.1.0 through 2025.10.1) contains a stored cross-site scripting flaw that could execute script in the browser of anyone viewing a graph tooltip. The flaw is conditionally gated, requiring either an account able to modify energy entity names or a malicious energy-provider integration default, and no public exploit identified at time of analysis. Leadership should care because a successful attack could compromise smart-home user sessions and controls, but the availability of a vendor patch and low exploitation activity make this a prioritized remediation item rather than an emergency.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 66% exploitable
Prevalence
Medium
leading open-source home automation platform, large prosumer install base but not enterprise-ubiquitous
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-27482 CRITICAL POC
10.0 Mar 08

homeassistant is an open source home automation tool. Rated critical severity (CVSS 10.0), this vulnerability is remotel

CVE-2026-91130 CRITICAL POC
9.3 Sep 22

Stored/DOM cross-site scripting in the Home Assistant frontend Statistics Graph card lets an authenticated user or a mal

CVE-2021-47942 HIGH POC
8.7 May 16

Home Assistant Community Store (HACS) 1.10.0 contains a path traversal vulnerability that allows unauthenticated attacke

CVE-2023-41897 CRITICAL
9.6 Oct 19

Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp

CVE-2023-41895 CRITICAL
9.6 Oct 19

Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp

CVE-2026-64824 CRITICAL
9.3 Jul 21

Path-traversal to remote code execution in Home Assistant Core before 2026.6.0 lets an authenticated user who can supply

CVE-2021-3152 MEDIUM POC
5.3 Jan 26

Home Assistant before 2021.1.3 does not have a protection layer that can help to prevent directory-traversal attacks aga

CVE-2026-64825 CRITICAL
9.0 Jul 21

Arbitrary file write in Home Assistant Core before 2026.6.0 lets unauthenticated attackers plant attacker-controlled fil

CVE-2023-41896 CRITICAL
9.0 Oct 19

Home assistant is an open source home automation. Rated critical severity (CVSS 9.0), this vulnerability is remotely exp

CVE-2023-44385 HIGH
8.8 Oct 19

The Home Assistant Companion for iOS and macOS app up to version 2023.4 are vulnerable to Client-Side Request Forgery. R

CVE-2026-44698 HIGH
8.3 May 29

Cross-origin JavaScript injection in Home Assistant Companion apps for Android (before 2026.4.4) and iOS (before 2026.4.

CVE-2023-50715 MEDIUM POC
4.3 Dec 15

Home Assistant is open source home automation software. Rated medium severity (CVSS 4.3), this vulnerability is no authe

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy