CVE-2026-64823 Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| home-assistant core | < 2026.5.4 | 2026.5.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| home-assistant core | < 2026.5.4 | 2026.5.4 |
References
- Home Assistant Core 2026.5.4 Release Notes release-notes
- Pull Request issue-tracking patch
- Patch Commit patch
- www.vulncheck.com third-party-advisory