Vulnerabilities in pkg:npm/mcp-fetch-server
PACKAGECVE-2025-65513 is a MODERATE fetch mcp server has a vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Mcp fetch server libraries in the npm ecosystem. The issue involves fetch mcp server has a server-side request forgery (ssrf) vulnerability. Remediation is available in the latest vendor maintenance releases.
pkg:npm/mcp-fetch-server
Vulnerability advisories affecting package pkg:npm/mcp-fetch-server. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-8fxj-2g9q-8fjw | CVE-2025-65513 | MODERATE | Fetch MCP Server has a Server-Side Request Forgery (SSRF) vulnerability |
CVE-2025-65513 at a Glance
How to Fix CVE-2025-65513
To remediate this vulnerability, upgrade all affected Mcp fetch server 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 mcp-fetch-server@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls mcp-fetch-server
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-65513, inspect your project dependencies using npm:
npm ls mcp-fetch-server
Analyze the terminal output to locate any version of Mcp fetch server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls mcp-fetch-server 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Mcp fetch server, 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-65513 Affected Mcp fetch server Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mcp-fetch-server
|
npm |
≤ 1.0.2
|
|
References
Frequently Asked Questions
What is CVE-2025-65513?
Which Mcp fetch server versions are affected?
What version fixes CVE-2025-65513?
Is mcp-fetch-server affected?
What CWE is associated with CVE-2025-65513?
How can I check npm dependencies for CVE-2025-65513?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8fxj-2g9q-8fjw",
"modified" : "2025-12-10T17:18:04Z",
"published" : "2025-12-10T00:30:22Z",
"aliases" : [ "CVE-2025-65513" ],
"summary" : "Fetch MCP Server has a Server-Side Request Forgery (SSRF) vulnerability",
"details" : "fetch-mcp v1.0.2 and before is vulnerable to Server-Side Request Forgery (SSRF) vulnerability, which allows attackers to bypass private IP validation and access internal network resources.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "mcp-fetch-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-65513"
}, {
"type" : "WEB",
"url" : "https://github.com/Team-Off-course/MCP-Server-Vuln-Analysis/blob/main/CVE-2025-65513.md"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/zcaceres/fetch-mcp"
}, {
"type" : "WEB",
"url" : "https://github.com/zcaceres/fetch-mcp/blob/c662c8ac300f715e414a64766cd95cc9ec60a1b3/src/Fetcher.ts#L20"
}, {
"type" : "WEB",
"url" : "https://thorn-pheasant-6d8.notion.site/fetch-mcp-2853daf7b44180029ca5d56e03195736"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-12-10T17:18:04Z",
"nvd_published_at" : "2025-12-09T22:16:15Z"
}
}