Low · 3.1 Node.js & npm GHSA-vqff-r82h-9crc CVE-2026-76894
CKAN MCP Server: Unvalidated postMessage Origin in DataStore Table UI (CVE-2026-76894)
The DataStore Table UI resource in CKAN MCP Server fails to validate the origin of incoming postMessage events and sends outgoing JSON-RPC messages with a wildcard target origin, allowing display spoofing and handshake disruption when the UI is embedded by an untrusted parent frame. Fixed in version 0.4.112.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been identified in the CKAN MCP Server, a tool used to query CKAN open data portals. The issue affects the DataStore Table UI resource and involves improper validation of message origins used in cross-frame communication. The vendor has released a fix.
What happened
The DataStore Table UI resource in CKAN MCP Server, implemented in src/resources/datastore-table-ui.ts, accepts window message events without validating the event's origin, and sends outgoing JSON-RPC messages through postMessage using a wildcard target origin. This means the component does not verify who it is communicating with, either when receiving or when sending messages across frames.
Technical cause
The root cause is classified as Insufficient Verification of Data Authenticity (CWE-345). Because the postMessage handler does not check event.origin, a frame capable of reaching the embedded document can inject fabricated fields or records into the DataStore table, or spoof pending ui/initialize responses, disrupting the MCP UI handshake. Because outgoing messages use a wildcard target origin ("*"), any embedding parent frame can also receive these outbound messages. According to the advisory, values are HTML-escaped, so demonstrated content injection results in display spoofing rather than script execution. Actual exploitability depends on how the resource is embedded by the host application.
Why it matters
This issue allows a malicious or compromised parent frame to manipulate what is displayed in the DataStore Table UI, or to disrupt the initialization handshake of the embedded MCP UI component. The advisory emphasizes this is a spoofing and integrity issue rather than one permitting script execution or data exfiltration. The severity score of 3.1 (CVSS) reflects that exploitation requires a non-trivial setup: it is network-exploitable without authentication, but requires high attack complexity and user interaction, with limited impact confined to confidentiality (display spoofing), and no impact on integrity or availability of the underlying system beyond display content.
Who is affected
Users of the @aborruso/ckan-mcp-server npm package in versions before 0.4.112 are affected, specifically where the DataStore Table UI resource is embedded in a context where an untrusted parent frame could interact with it.
Affected versions
All versions of @aborruso/ckan-mcp-server from version 0 up to (not including) 0.4.112 are affected.
Fixes and mitigation
The issue is fixed in @aborruso/ckan-mcp-server version 0.4.112. Users should update to this version or later to ensure the DataStore Table UI resource properly validates message origins.
Recommended action
Update @aborruso/ckan-mcp-server to version 0.4.112 or later as soon as practical. If immediate updating is not possible, avoid embedding the DataStore Table UI resource in contexts where untrusted parent frames could interact with it.
PatchBriefing score
3.1 / 10 · Low
Official CVSS: 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
EPSS 0.0021 (6 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- @aborruso/ckan-mcp-server < 0.4.112
- vulnerable
- @aborruso/ckan-mcp-server ≥ 0 < 0.4.112
- vulnerable
- ≥ 0.4.112
- patched
Reported fixes
The issue is fixed in @aborruso/ckan-mcp-server version 0.4.112. Users should update to this version or later to ensure the DataStore Table UI resource properly validates message origins.
How this was built
4 source records were collected, matched and used to prepare the report above.
-
GitHub Advisory Database database
-
OSV.dev database
-
NVD (NIST) database
-
CVE.org database
Revision history
- Generated
- Generated
- Published
- Generated