{"id":"CVE-2026-32112","published":"2026-03-11T20:42:30Z","modified":"2026-03-12T14:05:47Z","title":"ha-mcp has XSS via Unescaped HTML in OAuth Consent Form","vendor":"homeassistant-ai","product":"ha-mcp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00217,"percentile":0.1243,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/homeassistant-ai/ha-mcp/security/advisories/GHSA-pf93-j98v-25pv","tags":["x_refsource_CONFIRM"]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":2.49},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"homeassistant-ai","affectedVersions":[{"vendor":"homeassistant-ai","product":"ha-mcp","versions":["< 7.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-03-12T14:05:22.619817Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"ha-mcp","vulnerableRanges":["<7.0.0"],"patched":["7.0.0"],"from":["GHSA-pf93-j98v-25pv","PYSEC-2026-2508"],"provenance":"source"}],"summary":{"text":"The ha-mcp product, a Home Assistant MCP Server from homeassistant-ai, contains a cross-site scripting flaw in its OAuth consent form, where user-controlled parameters are rendered without HTML escaping. An attacker who can reach the OAuth endpoint and get the server operator to follow a crafted authorization URL could run JavaScript in the operator's browser, but this applies only to users who have explicitly enabled the beta OAuth mode (ha-mcp-oauth) and requires user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:06Z"},"euvd":{"id":"EUVD-2026-11385","exploited":false,"provenance":"source"}}