Intel

AIKIDO-2025-10583

@modelcontextprotocol/sdk is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 25, 2025

57

Medium Risk

This Affects:

JS@modelcontextprotocol/sdk
0.0.1 - 1.17.3
Fixed in 1.17.4
Are you affected? Scan for Free

TL;DR

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.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@modelcontextprotocol/sdk is vulnerable to Cross-site Scripting (XSS) in versions 0.0.1 - 1.17.3.

How to fix this

Upgrade the @modelcontextprotocol/sdk library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform