ha-mcp has XSS via Unescaped HTML in OAuth Consent Form
CVE-2026-32112 · GHSA-pf93-j98v-25pv · published 2026-03-12
- Severity
- Medium
- CVSS score
- 6.8
- Chance of exploitation (EPSS)
- 0.22%
- Fixed in
- 7.0.0
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
Affected configuration: OAuth mode only (ha-mcp-oauth, requires MCPBASEURL). This mode is in beta and is not included in the main setup documentation. The vast majority of ha-mcp users run stdio mode, which is not affected. Attack requirements: 1. The attacker can reach the ha-mcp OAuth endpoint (it binds to 0.0.0.0 in HTTP mode) 2. The attacker registers a malicious client via /register 3.
Upgrade ha-mcp to 7.0.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
Upgrade to 7.0.0
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| ha-mcp | PyPI | < 7.0.0 | 7.0.0 |
- CriticalJupyter Server: Stored XSS in `NbconvertFileHandler` / `NbconvertPostHandler` via missing `sandbox` CSPjupyter-server
- CriticalMalicious website can execute commands on the local system through XSS in the OpenCode web UIopencode-ai
- CriticalFlowise is vulnerable to stored XSS via "View Messages" allows credential theft in FlowiseAI admin panelflowise
- CriticalMLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Executionmlflow
- CriticalCross-site Scripting in MLFlowmlflow
- HighPraisonAI: Prompt Injection Defense Bypassed for HIGH-Level Threatspraisonai
- Mediumha-mcp: Add-on settings and policy routes are reachable without authentication at the bare root pathha-mcp
- MediumHome Assistant MCP Server: YAML config backups written under www/ are served unauthenticated at /local/ha-mcp
- Mediumha-mcp OAuth 2.1 DCR mode enables network reconnaissance via an error oracleha-mcp
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.