CVE-2026-64823
MEDIUMHome Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI
Title source: cnaDescription
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.
References (4)
Core 4
Core References
Release Notes release-notes
Release Notes
https://github.com/home-assistant/core/releases/tag/2026.5.4
Patch patch
Patch Commit
https://github.com/home-assistant/core/commit/894a68acb678afc382fe5ea9002e61ab7f862011
Third Party Advisory third-party-advisory
https://www.vulncheck.com/advisories/home-assistant-core-xss-via-shelly-media-player-py-thumb-uri
Scores
CVSS v3
4.7
EPSS
0.0018
EPSS Percentile
8.1%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (1)
home-assistant/Home Assistant Core
< 2026.5.4
Published
Jul 21, 2026
Tracked Since
Jul 21, 2026