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

Published Jul 21, 2026
·
Updated

Home Assistant Core before 2026.5.4 contains a cross-site scripting vulnerability in the Shelly integration's asyncgetmediaimage() 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 Software

1 affected component
Home Assistant Home Assistant Core<2026.5.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Home Assistant Core to a version that resolves this vulnerability.

    Fixed in 2026.5.4Patch XSS via Shelly media_player.py thumb URI

Event History

Jul 21, 2026
CVE Published
via MITRE·03:16 PM
Data Sourced
via MITRE·03:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64823?

CVE-2026-64823 has a severity rating of medium with a CVSS score of 4.7.

2

How do I fix CVE-2026-64823?

To fix CVE-2026-64823, upgrade your Home Assistant Core to version 2026.5.4 or later.

3

What type of vulnerability is CVE-2026-64823?

CVE-2026-64823 is a cross-site scripting (XSS) vulnerability.

4

Which software is affected by CVE-2026-64823?

CVE-2026-64823 affects Home Assistant Core versions prior to 2026.5.4.

5

What component of Home Assistant is involved in CVE-2026-64823?

CVE-2026-64823 involves the Shelly integration's async_get_media_image() method.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203