CyberRota Analysis
AI-GeneratedHome Assistant Core versions prior to 2026.5.4 are vulnerable to a cross-site scripting (XSS) flaw in the Shelly integration's async_get_media_image() method, allowing attackers to inject arbitrary HTML content through a manipulated data URI. This vulnerability can lead to the theft of session tokens and unauthorized access to sensitive service endpoints, such as lock and alarm controls. Organizations using Home Assistant should prioritize patching this vulnerability to mitigate potential exploitation risks.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
Home Assistant Core before 2026.5.4 contains a cross-site scripting vulnerability in the Shelly integration's async_get_media_image() method that allows attackers controlling a Shelly device's thumb field to serve arbitrary HTML content by supplying a data URI with a text/html content type without validation against an image-only allowlist. Attackers can cause the media player proxy endpoint to serve attacker-controlled bytes with Content-Type text/html in the Home Assistant web origin, enabling theft of session tokens from local storage and authenticated calls to sensitive service endpoints including lock, alarm, and cover controls.