What’s Vulnerable › Vulnerabilities
CVE-2026-32112: ha-mcp has XSS via Unescaped HTML in OAuth Consent Form
- Severity: medium (CVSS 4.7 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-03-11 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- homeassistant-ai ha-mcp: before 7.0.0 — fixed in 7.0.0
How to fix
Upgrade to a fixed version: homeassistant-ai ha-mcp 7.0.0. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-32112 or the next vulnerability affects your stack