{"id":"CVE-2026-44429","published":"2026-05-14T21:05:56Z","modified":"2026-05-15T14:20:27Z","title":"MCP Registry: Stored XSS in catalogue UI via attribute-quote breakout in publisher-controlled `websiteUrl`","vendor":"modelcontextprotocol","product":"registry","tier":"tail","description":{"text":"The MCP Registry provides MCP clients with a list of MCP servers, like an app store for MCP servers. Prior to 1.7.7, the public catalogue UI served at GET / (file internal/api/handlers/v0/ui_index.html) is vulnerable to stored cross-site scripting via the server.websiteUrl field of any published server.json. Server-side validation in internal/validators/validators.go (validateWebsiteURL) only checks that the URL parses, is absolute, and uses the https scheme; it does not reject quote characters. Client-side, the value is interpolated into a double-quoted href attribute via innerHTML, using a homegrown escapeHtml helper that performs the standard textContent → innerHTML round-trip. Per the HTML serialisation algorithm, that round-trip encodes only &, <, > and U+00A0 inside text nodes — it does not encode \" or '. A literal \" in websiteUrl therefore breaks out of the href attribute, allowing arbitrary on* event handlers to be appended to the same <a> element. The Content-Security-Policy on / is script-src 'self' 'unsafe-inline' https://cdn.tailwindcss.com, so the injected event handlers execute. Any user able to obtain a publish token (e.g. via POST /v0/auth/github-at with their own GitHub account, or POST /v0/auth/none on a deployment that has anonymous auth enabled) can plant a poisoned record visible to every visitor of the registry homepage. This vulnerability is fixed in 1.7.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:N/SI:L/SA:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00167,"percentile":0.06138,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"}],"references":[{"url":"https://github.com/modelcontextprotocol/registry/security/advisories/GHSA-rqv2-m695-f8j4","tags":["x_refsource_CONFIRM"]}],"priority":{"score":4.8,"factors":[{"name":"EPSS percentile","points":1.23},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"modelcontextprotocol","affectedVersions":[{"vendor":"modelcontextprotocol","product":"registry","versions":["< 1.7.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-15T14:19:51.887565Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/modelcontextprotocol/registry","vulnerableRanges":["<1.7.7"],"patched":["1.7.7"],"from":["GHSA-rqv2-m695-f8j4","GO-2026-5637"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-30487","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-44427","published":"2026-05-14","fixed":"1.7.5","kev":false},{"cve":"CVE-2026-44428","published":"2026-05-14","fixed":"1.7.6","kev":false,"link":{"from":"CVE-2026-44428","to":"CVE-2026-44429","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/modelcontextprotocol/registry","fromFixed":"1.7.6","toFixed":"1.7.7","daysApart":0}]}},{"cve":"CVE-2026-44429","published":"2026-05-14","fixed":"1.7.7","kev":false},{"cve":"CVE-2026-44430","published":"2026-05-14","fixed":"1.7.7","kev":false},{"cve":"CVE-2026-45781","published":"2026-05-14","fixed":"1.7.9","kev":false,"link":{"from":"CVE-2026-44429","to":"CVE-2026-45781","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/modelcontextprotocol/registry","fromFixed":"1.7.7","toFixed":"1.7.9","daysApart":0}]}}],"package":"Go:github.com/modelcontextprotocol/registry"}}