XSS in Homeassistant-Ai Ha-Mcp
CVE-2026-32112
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (14.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 14th percentile — 14.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: +0.001
Affected products
- Homeassistant-Ai Ha-Mcp — versions < 7.0.0
- Homeassistant-Ai Home Assistant Mcp Server
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-32112?
- CVE-2026-32112 is a medium-severity vulnerability in Homeassistant-Ai Ha-Mcp, classified under Cross-site Scripting. CVSS score: 6.8/10. Published 2026-03-11.
- How severe is CVE-2026-32112?
- Medium severity. CVSS v3 base score is 6.8 out of 10.