CVE-2026-64823CWE-79

Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI

Low · published July 21, 2026

CVSS v4.0
2.1
EPSS
0%
Percentile
21.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
2.1 · LOW
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
EPSS
0.00296 · 21.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-07-21T15:16Z
EPSS history
Timeline
  • 21 JUL 15:16Z
    Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI
    cvelistv5