@modelcontextprotocol/sdk is vulnerable to Cross-site Scripting (XSS)
57
Medium Risk
Affected versions of this package are vulnerable to cross-site scripting (XSS). A malicious authorization server could supply OAuth endpoints with unsafe URL schemes (e.g., javascript:, data:, or file:), which, when processed by OAuth clients, could enable XSS or remote code execution (RCE) attacks.
You are affected if you are using a version that falls within the vulnerable range.
@modelcontextprotocol/sdk is vulnerable to Cross-site Scripting (XSS) in versions 0.0.1 - 1.17.3.
Upgrade the @modelcontextprotocol/sdk library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant