CVE-2025-62172
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedHome 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceHome Assistant versions 2025.1.0-2025.10.1 contain a stored cross-site scripting vulnerability in the energy dashboard where entity names are not sanitized before rendering in graph tooltips. An authenticated attacker can inject malicious JavaScript into an energy entity's name field that executes when other users hover over data points in the energy dashboard.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- Authentication
- X
- User interaction
- A
- Scope
- X
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm Home Assistant versionNavigate to Home Assistant Settings > System > Repairs, or use the CLI command: ha core version. Alternatively, check the file /config/.HAVERSION if it exists.Affected if The installed version falls between 2025.1.0 and 2025.10.1 inclusive.
-
Verify energy dashboard is enabledNavigate to Energy Dashboard in the Home Assistant UI (Energy icon in sidebar). If you can access energy statistics and graphs, the dashboard is enabled.Affected if The energy dashboard feature is actively configured or has been used.
-
Identify registered energy entitiesGo to Settings > Energy > Energy Sources. Review all configured entities under electricity, gas, solar, and other energy sources. Note the entity_id and entity name for each entry.Affected if Any energy entities are listed in the energy configuration.
-
Inspect entity names for XSS payloadsExamine the "Name" field for each energy entity. Look for unexpected characters such as <, >, script, javascript:, onerror, onload, or other HTML/script content that did not come from your own naming.Affected if Any entity name contains HTML tags, script elements, or suspicious JavaScript event handlers.
-
Check for third-party supplied entitiesIf you use an energy provider integration like Tibber, check the automatically created entities under Developer Tools > States. Look for entities with names matching provider-supplied defaults.Affected if Energy entities exist that were created automatically by third-party integrations (e.g., Tibber) and their names contain unexpected content.
You are affected if your Home Assistant version is 2025.1.0-2025.10.1 AND the energy dashboard is enabled with entities that have unsanitized names containing script or HTML tags.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade Home Assistant to version 2025.10.2 or later to apply the patch. No workarounds exist for this vulnerability.
Home Assistant 2025.10.2
- Ensure you have a current backup of your Home Assistant instance before updating
- For Home Assistant Core: Run `ha core update` or update via Settings > System > Updates in the UI
- For Home Assistant OS: Navigate to Settings > System > Repairs > Three dots > Check for updates, then install version 2025.10.2
- For Docker: Pull the new image `homeassistant/home-assistant:2025.10.2` and recreate the container
- After update, verify the energy dashboard works correctly and entity names render as plain text in tooltips
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-62172 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-62172 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data