SCA: security update for github.com/modelcontextprotocol/registry (GHSA-rqv2-m695-f8j4)

medium Tenable Self-Hosted Container Security Plugin ID 441530

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-44429)

Solution

Update the github.com/modelcontextprotocol/registry library and its related packages to version 1.7.7 or later.

See Also

https://github.com/advisories/GHSA-rqv2-m695-f8j4

Plugin Details

Severity: Medium

ID: 441530

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 5/8/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

CVSS Score Source: CVE-2026-44429

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 5.1

Threat Score: 2

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/8/2026

Vulnerability Publication Date: 5/8/2026

Reference Information

CVE: CVE-2026-44429