Skip to main content
← All vulnerabilities
CVE-2026-32112PYSEC-2026-2508GHSA-PF93-J98V-25PV

ha-mcp has XSS via Unescaped HTML in OAuth Consent Form

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.0.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • homeassistant-ai ha-mcp

    fixed in 7.0.0

  • ha-mcpPyPI

    fixed in 7.0.0

References 1

GitHub · homeassistant-ai/ha-mcp