Intel

AIKIDO-2025-10583

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

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 25, 2025
August 25, 2025

57

CVE Score

Medium

Cross-site Scripting (XSS)

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.

How do I fix this?

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

Who does this affect?

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

Versions

0.0.1 - 1.17.3

Fixed in 1.17.4

Background info

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

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea