{"answers":{"affected":"3 open source packages ship an affected version, including homeassistant.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-91130 exists.","fix":"Upgrade homeassistant to 2026.7.0 or later.","what":"CVE-2026-91130 is a critical cross-site scripting vulnerability in home-assistant core, published on 22 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-91130 and fix it if it is affected.\n\nWhat it is: CVE-2026-91130 is a critical cross-site scripting vulnerability in home-assistant core, published on 22 Sep 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-91130 exists.\n\nAffected packages and fixed versions:\n- homeassistant (PyPI): affected all versions; fixed in 2026.7.0\n- homeassistant (PyPI): affected all versions; fixed in 2026.7.0\n- homeassistant (PyPI): affected all versions; fixed in 2026.7.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-91130/ (Markdown: https://insights.sbomify.com/CVE-2026-91130/index.md)","id":"CVE-2026-91130","markdown":"https://insights.sbomify.com/CVE-2026-91130/index.md","name":"CVE-2026-91130","record":{"aliases":["GHSA-wx4m-69m9-gx3m","PYSEC-2026-4052"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Home Assistant core","requires_auth":"low_privilege","summary":"An authenticated user or malicious integration can inject scripts into Home Assistant statistics graphs, leading to code execution when viewed.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"description":"Home Assistant is open source home automation software focused on local control and privacy. Prior to 2026.7.0, the Statistics Graph card in src/components/chart/statistics-chart.ts passed entity names through getStatisticLabel and computeStateName and interpolated param.seriesName into ECharts tooltip HTML without escaping. An authenticated user or an integration that supplies a malicious default entity name could cause script-related HTML to execute when a viewer hovered over a data point. Mean, State, Sum, and Change fields in the default Line chart configuration were affected, while Bar charts were not. This issue is fixed in version 2026.7.0.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Home Assistant: XSS in Statistics Graph Card","id":"CVE-2026-91130","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Discourse: Wildcard iframe origin allowlist bypass via authority separators","id":"CVE-2026-91132"},"packages":[{"ecosystem":"PyPI","fixed":["2026.7.0"],"introduced":["0"],"last_affected":[],"package":"homeassistant","purl":null,"source":"GHSA-wx4m-69m9-gx3m"},{"ecosystem":"PyPI","fixed":["2026.7.0"],"introduced":["0"],"last_affected":[],"package":"homeassistant","purl":"pkg:pypi/homeassistant","source":"GHSA-wx4m-69m9-gx3m"},{"ecosystem":"PyPI","fixed":["2026.7.0"],"introduced":["0"],"last_affected":[],"package":"homeassistant","purl":"pkg:pypi/homeassistant","source":"PYSEC-2026-4052"}],"prev":{"headline":"Home Assistant: mDNS Server-Side Request Forgery","id":"CVE-2026-91129"},"products":["core"],"published":"2026-09-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-22","vendors":["home-assistant"]},"summary":"An authenticated user or malicious integration can inject scripts into Home Assistant statistics graphs, leading to code execution when viewed.","url":"https://insights.sbomify.com/CVE-2026-91130/"}