CVE-2026-64823
JSON

2.1low

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

Severity
2.1low CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 8% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
home-assistant Home Assistant Corebefore 2026.5.4CVE List

All scores

VulnCheck2.1low CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
VulnCheck4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Home Assistant Core anterior a 2026.5.4 contiene una vulnerabilidad de cross-site scripting en el método async_get_media_image() de la integración de Shelly que permite a los atacantes que controlan el campo thumb de un dispositivo Shelly servir contenido HTML arbitrario al proporcionar una URI de datos con un tipo de contenido text/html sin validación contra una lista de permitidos solo de imágenes. Los atacantes pueden hacer que el endpoint proxy del reproductor multimedia sirva bytes controlados por el atacante con Content-Type text/html en el origen web de Home Assistant, lo que permite el robo de tokens de sesión del almacenamiento local y llamadas autenticadas a endpoints de servicios sensibles, incluyendo controles de cerradura, alarma y persianas.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-64823 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-64823 changed 2026-10-24Public domain