Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ha-mcp
  4. ›
  5. CVE-2026-32112

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

March 12, 2026

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.

References

  • github.com/advisories/GHSA-pf93-j98v-25pv
  • github.com/homeassistant-ai/ha-mcp
  • github.com/homeassistant-ai/ha-mcp/security/advisories/GHSA-pf93-j98v-25pv
  • nvd.nist.gov/vuln/detail/CVE-2026-32112

Code Behaviors & Features

Detect and mitigate CVE-2026-32112 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 7.0.0

Fixed versions

  • 7.0.0

Solution

Upgrade to version 7.0.0 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/ha-mcp/CVE-2026-32112.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:18 +0000.