CVE-2025-65513: Mcp fetch server Fetch MCP Server Has A Vulnerability

MODERATE
Advisory Identifier: GHSA-8fxj-2g9q-8fjw
CWE-918
Published
Advisory Summary

CVE-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.

CVE-2025-65513 at a Glance

CVE Identifier CVE-2025-65513
GHSA Identifier GHSA-8fxj-2g9q-8fjw
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Mcp fetch server
Package Ecosystem npm
Published Date
Last Updated

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.

mcp-fetch-server fixed: Latest secure release
npm install mcp-fetch-server@Latest secure release
Verify Direct and Transitive Dependencies

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

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.

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?
CVE-2025-65513 is a security vulnerability in Mcp fetch server involving Fetch MCP Server has a Server-Side Request Forgery (SSRF) vulnerability under CWE-918: Server-Side Request Forgery (SSRF).
Which Mcp fetch server versions are affected?
Affected versions include releases prior to current release patches across affected packages: mcp-fetch-server.
What version fixes CVE-2025-65513?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is mcp-fetch-server affected?
Yes, mcp-fetch-server is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2025-65513?
CVE-2025-65513 is classified under CWE-918: Server-Side Request Forgery (SSRF) (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.).
How can I check npm dependencies for CVE-2025-65513?
Run the dependency tree command: 'npm ls mcp-fetch-server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}