CVE-2026-76894

CKAN MCP Server: DataStore Table UI resource does not validate postMessage origin (in) and posts to targetOrigin "*" (out)

Published Nov 3, 2026 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
Description
CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, the DataStore table UI in src/resources/datastore-table-ui.ts accepts window message events without validating event.origin and sends JSON-RPC messages through postMessage with a wildcard target origin. A frame that can reach the embedded document can inject fabricated fields or records, spoof pending ui/initialize responses, disrupt the MCP UI handshake, or receive outbound messages when the resource is embedded by an untrusted parent. Values are HTML escaped, so the demonstrated content injection is display spoofing rather than script execution, and exploitability depends on the host embedding model. This issue is fixed in version 0.4.112.

Analysis

AI-generated

Technical impact

CKAN MCP Server's DataStore Table UI accepted inter‑window messages without checking the origin of the event and forwarded the data to a postMessage target of '*'. A frame that can reach the embedded document can therefore submit fabricated JSON‑RPC messages, inject arbitrary fields or records, or forge initialization responses. The injected content is HTML escaped, so script execution is not possible; the impact is limited to display spoofing, data integrity corruption and possible exposure of outbound messages to an untrusted parent. This flaw depends on how the component is embedded in a page.

Affected Systems

The flaw exists in the open‑source ondata:ckan-mcp-server package. Versions prior to 0.4.112 are affected; the issue was fixed in release v0.4.112.

Risk and Exploitability

The CVSS score is 3.1, classifying it as low severity. The EPSS score is not available, and the vulnerability has not been listed in the CISA KEV catalog. Exploitation requires an attacker to control a parent frame that hosts the CKAN MCP Server UI, so the attack is local to the embedding context and relies on the ability to deliver malicious postMessage events. The overall likelihood and impact remain modest, but the flaw could compromise the integrity of data shown in the UI or leak messages to an attacker.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ondata:ckan-mcp-server to version 0.4.112 or later, where the postMessage origin validation and target origin restrictions have been added.
  • If upgrading is not immediately possible, restrict the page to trusted origins by configuring the parent frame to limit which origins can post messages to the component.
  • Modify src/resources/datastore-table-ui.ts to validate event.origin against a whitelist before processing and to use a specific targetOrigin instead of '*'.

Generated by OpenCVE AI on November 3, 2026 at 23:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vqff-r82h-9crc ckan-mcp-server: DataStore Table UI resource does not validate postMessage origin (in) and posts to targetOrigin "*" (out)
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ondata
Ondata ckan-mcp-server
Vendors & Products Ondata
Ondata ckan-mcp-server
Type Values Removed Values Added
Description CKAN MCP Server is a tool for querying CKAN open data portals. Prior to 0.4.112, the DataStore table UI in src/resources/datastore-table-ui.ts accepts window message events without validating event.origin and sends JSON-RPC messages through postMessage with a wildcard target origin. A frame that can reach the embedded document can inject fabricated fields or records, spoof pending ui/initialize responses, disrupt the MCP UI handshake, or receive outbound messages when the resource is embedded by an untrusted parent. Values are HTML escaped, so the demonstrated content injection is display spoofing rather than script execution, and exploitability depends on the host embedding model. This issue is fixed in version 0.4.112.
Title CKAN MCP Server: DataStore Table UI resource does not validate postMessage origin (in) and posts to targetOrigin "*" (out)
Weaknesses CWE-345
CWE-940
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-345

    Insufficient Verification of Data Authenticity

  • CWE-940

    Improper Verification of Source of a Communication Channel

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 3:48 PM
Reserved
Aug 19, 2026, 10:43 PM
Status
Deferred
Published
Nov 3, 2026, 9:17 PM
Modified
Nov 12, 2026, 8:07 PM