# CVE-2026-44429: MCP Registry: Stored XSS in catalogue UI via attribute-quote breakout in publisher-controlled `websiteUrl`

- Severity: Medium 5.1 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-08T17:18:32.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-rqv2-m695-f8j4, GO-2026-5637
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- modelcontextprotocol registry: < 1.7.7
- github.com/modelcontextprotocol/registry (Go): before 1.7.7
- lfprojects mcp_registry: before 1.7.7

## Every score

- GitHub_M: CVSS:4.0 5.1 Medium `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`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/modelcontextprotocol/registry/security/advisories/GHSA-rqv2-m695-f8j4> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44429> (advisory)
- <https://github.com/modelcontextprotocol/registry/pull/1249> (fix, web)
- <https://github.com/modelcontextprotocol/registry/commit/78b7bbde07948049b916d76b4769faee461ff930> (fix, web)
- <https://github.com/modelcontextprotocol/registry> (package)
- <https://github.com/modelcontextprotocol/registry/releases/tag/v1.7.7> (web)

## Sources

- CVE List: [CVE-2026-44429](https://www.cve.org/CVERecord?id=CVE-2026-44429), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-rqv2-m695-f8j4](https://github.com/advisories/GHSA-rqv2-m695-f8j4), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2026-5637](https://pkg.go.dev/vuln/GO-2026-5637), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-44429](https://nvd.nist.gov/vuln/detail/CVE-2026-44429), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44429 · Whole record: https://cve.day/CVE-2026-44429.json · Rebuilt by cve.day 2026-11-25T22:59:21.785Z
