Permissive Cross-domain Policy with Untrusted Domains Affecting io.modelcontextprotocol.sdk:mcp-core package, versions [,1.0.1)[1.1.0,1.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.22% (13th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IOMODELCONTEXTPROTOCOLSDK-15857186
  • published31 Mar 2026
  • disclosed30 Mar 2026
  • creditSrikanth Ramu

Introduced: 30 Mar 2026

CVE-2026-34237  (opens in a new tab)
CWE-942  (opens in a new tab)

How to fix?

Upgrade io.modelcontextprotocol.sdk:mcp-core to version 1.0.1, 1.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Permissive Cross-domain Policy with Untrusted Domains via the HttpServletSseServerTransportProvider and HttpServletStreamableServerTransportProvider classes. An attacker can access sensitive session information by leveraging a malicious web page to trigger cross-origin requests, allowing unauthorized reading of server-sent events and subsequent relay of requests using the victim's browser.

CVSS Base Scores

version 4.0
version 3.1