VDB
Sign up
HIGH

GHSA-6fg3-hvw7-2fwq

Microsoft Playwright MCP Server vulnerable to DNS Rebinding Attack; Allows Attackers Access to All Server Tools

Quick fix

GHSA-6fg3-hvw7-2fwq — @playwright/mcp: upgrade to the fixed version with the command below.

npm install @playwright/mcp@0.0.40

Details

Microsoft Playwright MCP Server versions prior to 0.0.40 fails to validate the Origin header on incoming connections. This allows an attacker to perform a DNS rebinding attack via a victim’s web browser and send unauthorized requests to a locally running MCP server, resulting in unintended invocation of MCP tool endpoints.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@playwright/mcp
Introduced in: 0Fixed in: 0.0.40
Fixnpm install @playwright/mcp@0.0.40

References