{"id":"CVE-2026-64823","published":"2026-07-21T15:16:03Z","modified":"2026-11-08T14:07:59Z","title":"Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI","vendor":"home-assistant","product":"Home Assistant Core","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00296,"percentile":0.22737,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/home-assistant/core/releases/tag/2026.5.4","tags":["release-notes"]},{"url":"https://github.com/home-assistant/core/pull/171585","tags":["issue-tracking","patch"]},{"url":"https://github.com/home-assistant/core/commit/894a68acb678afc382fe5ea9002e61ab7f862011","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/home-assistant-core-xss-via-shelly-media-player-py-thumb-uri","tags":["third-party-advisory"]}],"priority":{"score":7.8,"factors":[{"name":"EPSS percentile","points":4.55},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"home-assistant","affectedVersions":[{"vendor":"home-assistant","product":"Home Assistant Core","versions":["< 2026.5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-22T14:12:03.484754Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-46280","exploited":false,"provenance":"source"}}