CVE-2025-9611: @playwright/mcp Microsoft Playwright MCP Server Vulnerable Vulnerability
HIGHCVE-2025-9611 is a HIGH microsoft playwright mcp server vulnerable vulnerability (CWE-749: Exposed Dangerous Method or Function) affecting @playwright/mcp libraries in the npm ecosystem. The issue involves microsoft playwright mcp server vulnerable to dns rebinding attack; allows attackers access to all server tools. Remediation is available by upgrading affected packages to version 0.0.40.
CVE-2025-9611 at a Glance
How to Fix CVE-2025-9611
To remediate this vulnerability, upgrade all affected @playwright/mcp dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @playwright/mcp@0.0.40
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @playwright/mcp
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-9611, inspect your project dependencies using npm:
npm ls @playwright/mcp
Analyze the terminal output to locate any version of @playwright/mcp in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.40), your application is affected.
Note: The npm ls @playwright/mcp command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-749: Exposed Dangerous Method or Function, where the product provides an applications programming interface (api) or similar interface for interaction with external actors, but the interface includes a dangerous method or function that is not properly restricted. In @playwright/mcp, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-9611 Affected @playwright/mcp Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@playwright/mcp
|
npm |
< 0.0.40
|
0.0.40
|
References
Frequently Asked Questions
What is CVE-2025-9611?
Which @playwright/mcp versions are affected?
What version fixes CVE-2025-9611?
Is @playwright/mcp affected?
What CWE is associated with CVE-2025-9611?
How can I check npm dependencies for CVE-2025-9611?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-6fg3-hvw7-2fwq",
"modified" : "2026-01-07T20:02:55Z",
"published" : "2026-01-07T12:31:25Z",
"aliases" : [ "CVE-2025-9611" ],
"summary" : "Microsoft Playwright MCP Server vulnerable to DNS Rebinding Attack; Allows Attackers Access to All Server Tools",
"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.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:L/SI:L/SA:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@playwright/mcp"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.40"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-8rgw-6xp9-2fg3"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9611"
}, {
"type" : "WEB",
"url" : "https://github.com/microsoft/playwright-mcp/issues/1206"
}, {
"type" : "WEB",
"url" : "https://github.com/microsoft/playwright/commit/1313fbd"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/microsoft/playwright-mcp"
}, {
"type" : "WEB",
"url" : "https://msrc.microsoft.com/report/vulnerability/VULN-164412"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/microsoft-playwright-mcp-server-dns-rebinding-via-missing-origin-header-validation"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-749" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-07T20:02:55Z",
"nvd_published_at" : "2026-01-07T12:17:06Z"
}
}