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

- Severity: Low 2.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-07-21T15:16:03.790Z
- Modified: 2026-11-08T14:07:59.946Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- home-assistant Home Assistant Core: before 2026.5.4

## Every score

- VulnCheck: CVSS:4.0 2.1 Low `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`
- VulnCheck: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/home-assistant/core/releases/tag/2026.5.4> (release-notes)
- <https://github.com/home-assistant/core/pull/171585> (issue-tracking, patch)
- <https://github.com/home-assistant/core/commit/894a68acb678afc382fe5ea9002e61ab7f862011> (patch)
- <https://www.vulncheck.com/advisories/home-assistant-core-xss-via-shelly-media-player-py-thumb-uri> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-64823](https://www.cve.org/CVERecord?id=CVE-2026-64823), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-64823](https://nvd.nist.gov/vuln/detail/CVE-2026-64823), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-64823 · Whole record: https://cve.day/CVE-2026-64823.json · Rebuilt by cve.day 2026-11-25T22:59:29.354Z
