Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-64823— Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI

Quick assessment

Affected
home-assistant Home Assistant Core
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Home Assistant是Home Assistant组织开源的一套开源的家庭自动化管理系统。该系统主要用于控制家庭自动化设备。 Home Assistant 2026.5.4之前版本存在跨站脚本漏洞,该漏洞源于Shelly集成的async_get_media_image()方法容易受到跨站脚本攻击,原因在于用户提供的data URI包含text/html内容类型且未通过仅图像白名单验证,从而导致攻击者通过控制Shelly设备的thumb字段提供任意HTML内容,可能导致会话令牌被盗和锁定、警报及覆盖

CVSS 4.7 · Medium EPSS 0.30% · P20

Affected Version Matrix 1

VendorProduct Version RangeStatus
home-assistant Home Assistant Core < 2026.5.4 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-64823

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Home Assistant 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Home Assistant是Home Assistant组织开源的一套开源的家庭自动化管理系统。该系统主要用于控制家庭自动化设备。 Home Assistant 2026.5.4之前版本存在跨站脚本漏洞,该漏洞源于Shelly集成的async_get_media_image()方法容易受到跨站脚本攻击,原因在于用户提供的data URI包含text/html内容类型且未通过仅图像白名单验证,从而导致攻击者通过控制Shelly设备的thumb字段提供任意HTML内容,可能导致会话令牌被盗和锁定、警报及覆盖
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
home-assistant Home Assistant Core 0 ~ 2026.5.4 -

II. Public POCs for CVE-2026-64823

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-64823

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-64823 (2)

Vendor Advisories for CVE-2026-64823 (1)

Same Patch Batch · home-assistant · 2026-07-21 · 3 CVEs total

CVE-2026-64825 9.3 CRITICAL Home Assistant Core < 2026.6.0 Path Traversal File Write via Backup Upload
CVE-2026-64824 8.4 HIGH Home Assistant Core < 2026.7.0 Symlink Path Traversal RCE via backup-restore

IV. Related Vulnerabilities

V. Comments for CVE-2026-64823

No comments yet


Leave a comment