CVE-2026-32112 json
ha-mcp has XSS via Unescaped HTML in OAuth Consent Form
published 7mo ago modified 3mo ago also GHSA-pf93-j98v-25pv , PYSEC-2026-2508 , EUVD-2026-11385
- cvss
- 6.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 12%
- public exploits
- 0
- none known
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.
Patch / fix
- pypi ha-mcp 7.0.0
- homeassistant-ai home_assistant_mcp_server 7.0.0
Is CVE-2026-32112 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 7mo ago
Exploit prediction
0.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 3.1 | 4.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 6.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ha-mcp | <7.0.0 |
7.0.0 |
Affected products
- homeassistant-ai ha-mcp
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/homeassistant-ai/ha-mcp/security/advisories/GHSA-pf93-j98v-25pv
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-32112
advisory
-
github.com
/homeassistant-ai/ha-mcp
package
-
pypi.org
/project/ha-mcp
package
-
github.com
/advisories/GHSA-pf93-j98v-25pv
advisory
Sources
- CVE List CVE-2026-32112
- GitHub Advisory GHSA-pf93-j98v-25pv
- NVD CVE-2026-32112
- OSV PYSEC-2026-2508
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.