{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-32112","id":"CVE-2026-32112","title":"ha-mcp has XSS via Unescaped HTML in OAuth Consent Form","description":"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), ","descriptionLong":"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.","published":"2026-03-11T20:42:30.381Z","updated":"2026-10-28T02:30:58.619553955Z","reserved":"2026-03-10T22:02:38.855Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["homeassistant-ai ha-mcp"],"affectedProducts":[{"vendor":"homeassistant-ai","product":"ha-mcp","defaultStatus":null,"versions":[{"version":"< 7.0.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"ha-mcp","purl":"pkg:pypi/ha-mcp","ranges":["<7.0.0"],"fixed":["7.0.0"],"advisory":"GHSA-pf93-j98v-25pv"}],"cwes":["CWE-79"],"aliases":["GHSA-pf93-j98v-25pv","PYSEC-2026-2508"],"references":[{"url":"https://github.com/homeassistant-ai/ha-mcp/security/advisories/GHSA-pf93-j98v-25pv","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32112.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32112","tags":["advisory"]},{"url":"https://github.com/homeassistant-ai/ha-mcp","tags":["package"]},{"url":"https://pypi.org/project/ha-mcp","tags":["package"]},{"url":"https://github.com/advisories/GHSA-pf93-j98v-25pv","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00217,"epssPercentile":0.12276,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-32112","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32112","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-32112","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pf93-j98v-25pv","ok":true,"note":"GHSA-pf93-j98v-25pv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-32112","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}