# CVE-2026-32112: PYSEC-2026-2508 - ha-mcp has XSS via Unescaped HTML in OAuth Consent Form

Source: https://junglewise.ai/threats/cve-2026-32112-ha-mcp-has-xss-via-unescaped-html-in-oauth-consent-form  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-13  
License: CC BY 4.0 with a link back

CVE-2026-32112 · Severity: low · CVSS 3.1 · Published 2026-07-13

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

Technologies: [ha-mcp (PyPI)](https://junglewise.ai/threats/technologies/ha-mcp). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-32112 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-32112 being exploited in the wild.

**How severe is CVE-2026-32112?** Low severity, with a CVSS score of 3.1, published 13 July 2026.

**Which products and versions are affected?** ha-mcp (PyPI) ECOSYSTEM:introduced=0,fixed=7.0.0.

**Is there a fix for CVE-2026-32112?** Yes. ha-mcp (PyPI): upgrade to 7.0.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-32112?** Check whether you run ha-mcp (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- ha-mcp (PyPI): upgrade to 7.0.0 or later

  ```sh
  pip install "ha-mcp>=7.0.0"
  ```


## Affected products

- ha-mcp (PyPI) ECOSYSTEM:introduced=0,fixed=7.0.0

## Identifiers

- CVE-2026-32112
- GHSA-pf93-j98v-25pv
- PYSEC-2026-2508

## Related threats

- [PYSEC-2026-2507 - ha-mcp OAuth 2.1 DCR mode enables network reconnaissance via an error oracle](https://junglewise.ai/threats/cve-2026-32111-ha-mcp-oauth-2-1-dcr-mode-enables-network-reconnaissance-via-an)
- [homeassistant-ai ha-mcp missing authentication in settings routes](https://junglewise.ai/threats/homeassistant-ai-ha-mcp-missing-authentication-in-settings-routes-7bec1052)
- [Home Assistant MCP Server unauthenticated access to YAML backups](https://junglewise.ai/threats/home-assistant-mcp-server-unauthenticated-access-to-yaml-backups-d620653e)
