CVE-2026-32112
MEDIUMha-mcp < 7.0.0 - Stored Cross-Site Scripting via OAuth Consent Form
Title source: llmDescription
ha-mcp is a Home Assistant MCP Server. Prior to 7.0.0, the ha-mcp OAuth consent form renders user-controlled parameters via Python f-strings with no HTML escaping. An attacker who can reach the OAuth endpoint and convince the server operator to follow a crafted authorization URL could execute JavaScript in the operator's browser. This affects only users running the beta OAuth mode (ha-mcp-oauth), which is not part of the standard setup and requires explicit configuration. This vulnerability is fixed in 7.0.0.
References (1)
Core 1
Core References
Vendor Advisory x_refsource_confirm
https://github.com/homeassistant-ai/ha-mcp/security/advisories/GHSA-pf93-j98v-25pv
Scores
CVSS v3
6.8
EPSS
0.0004
EPSS Percentile
11.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-79
Status
published
Products (2)
homeassistant-ai/home_assistant_mcp_server
< 7.0.0
pypi/ha-mcp
0 - 7.0.0PyPI
Published
Mar 11, 2026
Tracked Since
Mar 12, 2026