Skip to content
Heist/ feed
Back to feed
Low

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-64823
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:40 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 21 Jul 2026, 15:16 UTC

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.

osv:CVE-2026-64823
Complete source record
{
  "id": "24d29969db629ae1e51e9b34dabaa1afc4572595e6909c5c8ed1c726d4cc0375",
  "url": "https://osv.dev/vulnerability/CVE-2026-64823",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Home Assistant Core < 2026.5.4 XSS via Shelly media_player.py thumb URI",
    "summary": "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.",
    "evidence": "osv:CVE-2026-64823",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-64823",
      "aliases": [
        "CVE-2026-64823"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/home-assistant/core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0723d8d83ff121e732e76b5dffe1b6648c69d596"
                },
                {
                  "fixed": "894a68acb678afc382fe5ea9002e61ab7f862011"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2026.5.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0723d8d83ff121e732e76b5dffe1b6648c69d596"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2026.5.4"
                  },
                  {
                    "range": [
                      {
                        "fixed": "894a68acb678afc382fe5ea9002e61ab7f862011"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2026.5.3",
            "2026.5.2",
            "2026.5.1",
            "2026.5.0",
            "2026.4.4",
            "2026.4.3",
            "2026.4.2",
            "2026.4.1",
            "2026.4.0",
            "2026.3.4",
            "2026.3.3",
            "2026.3.2",
            "2026.3.1",
            "2026.3.0",
            "2026.2.3",
            "2026.2.2",
            "2026.2.1",
            "2026.2.0",
            "2026.1.3",
            "2026.1.2",
            "2026.1.1",
            "2026.1.0",
            "2025.12.5",
            "2025.12.4",
            "2025.12.3",
            "2025.12.2",
            "2025.12.1",
            "2025.12.0",
            "2025.11.3",
            "2025.11.2",
            "2025.11.1",
            "2025.11.0",
            "2025.10.4",
            "2025.10.3",
            "2025.10.2",
            "2025.10.1",
            "2025.10.0",
            "2025.9.4",
            "2025.9.3",
            "2025.9.2",
            "2025.9.1",
            "2025.9.0",
            "2025.8.3",
            "2025.8.2",
            "2025.8.1",
            "2025.8.0",
            "2025.7.4",
            "2025.7.3",
            "2025.7.2",
            "2025.7.1",
            "2025.7.0",
            "2025.6.3",
            "2025.6.2",
            "2025.6.1",
            "2025.6.0",
            "2025.5.3",
            "2025.5.2",
            "2025.5.1",
            "2025.5.0",
            "2025.4.4",
            "2025.4.3",
            "2025.4.2",
            "2025.4.1",
            "2025.4.0",
            "2025.3.4",
            "2025.3.3",
            "2025.3.2",
            "2025.3.1",
            "2025.3.0",
            "2025.2.5",
            "2025.2.4",
            "2025.2.3",
            "2025.2.2",
            "2025.2.1",
            "2025.2.0",
            "2025.1.4",
            "2025.1.3",
            "2025.1.2",
            "2025.1.1",
            "2025.1.0",
            "2024.12.5",
            "2024.12.4",
            "2024.12.3",
            "2024.12.2",
            "2024.12.1",
            "2024.12.0",
            "2024.11.3",
            "2024.11.2",
            "2024.11.1",
            "2024.11.0",
            "2024.10.3",
            "2024.10.2",
            "2024.10.1",
            "2024.10.0",
            "2024.9.3",
            "2024.9.2",
            "2024.9.1",
            "2024.9.0",
            "2024.8.3",
            "2024.8.2",
            "2024.8.1",
            "2024.8.0",
            "2024.7.4",
            "2024.7.3",
            "2024.7.2",
            "2024.7.1",
            "2024.7.0",
            "2024.6.4",
            "2024.6.3",
            "2024.6.2",
            "2024.6.1",
            "2024.6.0",
            "2024.5.5",
            "2024.5.4",
            "2024.5.3",
            "2024.5.2",
            "2024.5.1",
            "2024.5.0",
            "2024.4.4",
            "2024.4.3",
            "2024.4.2",
            "2024.4.1",
            "2024.4.0",
            "2024.3.3",
            "2024.3.2",
            "2024.3.1",
            "2024.3.0",
            "2024.2.5",
            "2024.2.4",
            "2024.2.3",
            "2024.2.2",
            "2024.2.1",
            "2024.2.0",
            "2024.1.6",
            "2024.1.5",
            "2024.1.4",
            "2024.1.3",
            "2024.1.2",
            "2024.1.1",
            "2024.1.0",
            "2023.12.4",
            "2023.12.3",
            "2023.12.2",
            "2023.12.1",
            "2023.12.0",
            "2023.11.3",
            "2023.11.2",
            "2023.11.1",
            "2023.11.0",
            "2023.10.5",
            "2023.10.4",
            "2023.10.3",
            "2023.10.2",
            "2023.10.1",
            "2023.10.0",
            "2023.9.3",
            "2023.9.2",
            "2023.9.1",
            "2023.9.0",
            "2023.8.4",
            "2023.8.3",
            "2023.8.2",
            "2023.8.1",
            "2023.8.0",
            "2023.7.3",
            "2023.7.2",
            "2023.7.1",
            "2023.7.0",
            "2023.6.3",
            "2023.6.2",
            "2023.6.1",
            "2023.6.0",
            "2023.5.4",
            "2023.5.3",
            "2023.5.2",
            "2023.5.1",
            "2023.5.0",
            "2023.4.6",
            "2023.4.5",
            "2023.4.4",
            "2023.4.3",
            "2023.4.2",
            "2023.4.1",
            "2023.4.0",
            "2023.3.6",
            "2023.3.5",
            "2023.3.4",
            "2023.3.3",
            "2023.3.2",
            "2023.3.1",
            "2023.3.0",
            "2023.2.5",
            "2023.2.4",
            "2023.2.3",
            "2023.2.2",
            "2023.2.1",
            "2023.2.0",
            "2023.1.7",
            "2023.1.6",
            "2023.1.5",
            "2023.1.4",
            "2023.1.3",
            "2023.1.2",
            "2023.1.1",
            "2023.1.0",
            "2022.12.9",
            "2022.12.8",
            "2022.12.7",
            "2022.12.6",
            "2022.12.5",
            "2022.12.4",
            "2022.12.3",
            "2022.12.2",
            "2022.12.1",
            "2022.12.0",
            "2022.11.5",
            "2022.11.4",
            "2022.11.3",
            "2022.11.2",
            "2022.11.1",
            "2022.11.0",
            "2022.10.5",
            "2022.10.4",
            "2022.10.3",
            "2022.10.2",
            "2022.10.1",
            "2022.10.0",
            "2022.9.7",
            "2022.9.6",
            "2022.9.5",
            "2022.9.4",
            "2022.9.3",
            "2022.9.2",
            "2022.9.1",
            "2022.9.0",
            "2022.8.7",
            "2022.8.6",
            "2022.8.5",
            "2022.8.4",
            "2022.8.3",
            "2022.8.2",
            "2022.8.1",
            "2022.8.0",
            "2022.7.7",
            "2022.7.6",
            "2022.7.5",
            "2022.7.4",
            "2022.7.3",
            "2022.7.2",
            "2022.7.1",
            "2022.7.0",
            "2022.6.7",
            "2022.6.6",
            "2022.6.5",
            "2022.6.4",
            "2022.6.3",
            "2022.6.2",
            "2022.6.1",
            "2022.6.0",
            "2022.5.5",
            "2022.5.4",
            "2022.5.3",
            "2022.5.2",
            "2022.5.1",
            "2022.5.0",
            "2022.4.7",
            "2022.4.6",
            "2022.4.5",
            "2022.4.4",
            "2022.4.3",
            "2022.4.2",
            "2022.4.1",
            "2022.4.0",
            "2022.3.8",
            "2022.3.7",
            "2022.3.6",
            "2022.3.5",
            "2022.3.4",
            "2022.3.3",
            "2022.3.2",
            "2022.3.1",
            "2022.3.0",
            "2022.2.9",
            "2022.2.8",
            "2022.2.7",
            "2022.2.6",
            "2022.2.5",
            "2022.2.4",
            "2022.2.3",
            "2022.2.2",
            "2022.2.1",
            "2022.2.0",
            "2021.12.10",
            "2021.12.9",
            "2021.12.8",
            "2021.12.7",
            "2021.12.6",
            "2021.12.5",
            "2021.12.4",
            "2021.12.3",
            "2021.12.2",
            "2021.12.1",
            "2021.12.0",
            "2021.11.5",
            "2021.11.4",
            "2021.11.3",
            "2021.11.2",
            "2021.11.1",
            "2021.11.0",
            "2021.10.7",
            "2021.10.6",
            "2021.10.5",
            "2021.10.4",
            "2021.10.3",
            "2021.10.2",
            "2021.10.1",
            "2021.10.0",
            "2021.9.7",
            "2021.9.6",
            "2021.9.5",
            "2021.9.4",
            "2021.9.3",
            "2021.9.2",
            "2021.9.1",
            "2021.9.0",
            "2021.8.8",
            "2021.8.7",
            "2021.8.6",
            "2021.8.5",
            "2021.8.4",
            "2021.8.3",
            "2021.8.2",
            "2021.8.1",
            "2021.8.0",
            "2021.7.4",
            "2021.7.3",
            "2021.7.2",
            "2021.7.1",
            "2021.7.0",
            "2021.6.6",
            "2021.6.5",
            "2021.6.4",
            "2021.6.3",
            "2021.6.2",
            "2021.6.1",
            "2021.6.0",
            "2021.5.5",
            "2021.5.4",
            "2021.5.3",
            "2021.5.2",
            "2021.5.1",
            "2021.5.0",
            "2021.4.6",
            "2021.4.5",
            "2021.4.4",
            "2021.4.3",
            "2021.4.2",
            "2021.4.1",
            "2021.4.0",
            "2021.3.4",
            "2021.3.3",
            "2021.3.2",
            "2021.3.1",
            "2021.3.0",
            "2021.2.3",
            "2021.2.2",
            "2021.2.1",
            "2021.2.0",
            "2021.1.5",
            "2021.1.4",
            "2021.1.3",
            "2021.1.2",
            "2021.1.1",
            "2021.1.0",
            "2020.12.2",
            "2020.12.1",
            "2020.12.0",
            "0.118.5",
            "0.118.4",
            "0.118.3",
            "0.118.2",
            "0.118.1",
            "0.118.0",
            "0.117.6",
            "0.117.5",
            "0.117.4",
            "0.117.3",
            "0.117.2",
            "0.117.1",
            "0.117.0",
            "0.116.4",
            "0.116.3",
            "0.116.2",
            "0.116.1",
            "0.116.0",
            "0.115.6",
            "0.115.5",
            "0.115.4",
            "0.115.3",
            "0.115.2",
            "0.115.1",
            "0.115.0",
            "0.114.4",
            "0.114.3",
            "0.114.2",
            "0.114.1",
            "0.114.0",
            "0.113.3",
            "0.113.2",
            "0.113.1",
            "0.113.0",
            "0.112.5",
            "0.112.4",
            "0.112.3",
            "0.112.2",
            "0.112.1",
            "0.112.0",
            "0.111.4",
            "0.111.3",
            "0.111.2",
            "0.111.1",
            "0.111.0",
            "0.110.7",
            "0.110.6",
            "0.110.5",
            "0.110.4",
            "0.110.3",
            "0.110.2",
            "0.110.1",
            "0.110.0",
            "0.109.6",
            "0.109.5",
            "0.109.4",
            "0.109.3",
            "0.109.2",
            "0.109.1",
            "0.109.0",
            "0.108.9",
            "0.108.8",
            "0.108.7",
            "0.108.6",
            "0.108.5",
            "0.108.4",
            "0.108.3",
            "0.108.2",
            "0.108.1",
            "0.108.0",
            "0.107.7",
            "0.107.6",
            "0.107.5",
            "0.107.4",
            "0.107.3",
            "0.107.2",
            "0.107.1",
            "0.107.0",
            "0.106.6",
            "0.106.5",
            "0.106.4",
            "0.106.3",
            "0.106.2",
            "0.106.1",
            "0.106.0",
            "0.105.5",
            "0.105.4",
            "0.105.3",
            "0.105.2",
            "0.105.1",
            "0.105.0",
            "0.104.3",
            "0.104.2",
            "0.104.1",
            "0.104.0",
            "0.103.6",
            "0.103.5",
            "0.103.4",
            "0.103.3",
            "0.103.2",
            "0.103.1",
            "0.103.0",
            "0.103.0b1",
            "0.103.0b0",
            "0.81.1",
            "0.28",
            "0.7.6",
            "Last-Python2-release"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64823.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.209336522Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64823.json",
        "https://github.com/home-assistant/core/releases/tag/2026.5.4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-64823",
        "https://www.vulncheck.com/advisories/home-assistant-core-xss-via-shelly-media-player-py-thumb-uri",
        "https://github.com/home-assistant/core/pull/171585",
        "https://github.com/home-assistant/core/commit/894a68acb678afc382fe5ea9002e61ab7f862011",
        "https://github.com/home-assistant/core"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64823.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-64823",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505781,
  "published_at": "2026-07-21T15:16:03.79+00:00"
}