MediumVulnerability
GHSA-pf93-j98v-25pv: ha-mcp has XSS via Unescaped HTML in OAuth Consent Form
- Identifiers
- CVE-2026-32112GHSA-pf93-j98v-25pv
- Published
- Record updated
- Affected
- ha-mcp < 7.0.0
- Fixed in
- 7.0.0
- released March 10, 2026, 1 day before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
The ha-mcp OAuth consent form renders user-controlled parameters through Python f-strings without HTML escaping, so an attacker who registers a client with a malicious client_name via the /register endpoint can run JavaScript in the server operator's browser after that operator follows a crafted authorization URL. Only the beta OAuth mode (ha-mcp-oauth, requiring MCP_BASE_URL) is affected, not the standard stdio setup. Successful exploitation could exfiltrate data entered into the consent form, including the Home Assistant Long-Lived Access Token.
Mitigation
Upgrade to 7.0.0
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online