CVE-2025-5276: Mcp markdownify server Markdownify MCP Server Allows Server-Side Vulnerability

MODERATE
Advisory Identifier: GHSA-frq9-3hp2-xvxg
CVSS 7.4
CWE-918
Published
Advisory Summary

CVE-2025-5276 is a MODERATE (CVSS 7.4) markdownify mcp server allows server-side vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Mcp markdownify server libraries in the npm ecosystem. The issue involves markdownify mcp server allows server-side request forgery (ssrf) via the markdownify.get() function. Remediation is available in the latest vendor maintenance releases.

CVE-2025-5276 at a Glance

CVE Identifier CVE-2025-5276
GHSA Identifier GHSA-frq9-3hp2-xvxg
Severity MODERATE
CVSS v3.1 Base Score 7.4
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Mcp markdownify server
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 7.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-5276

To remediate this vulnerability, upgrade all affected Mcp markdownify 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-markdownify-server fixed: Latest secure release
npm install mcp-markdownify-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-markdownify-server

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2025-5276, inspect your project dependencies using npm:

npm ls mcp-markdownify-server

Analyze the terminal output to locate any version of Mcp markdownify 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-markdownify-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 markdownify 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

All versions of the package mcp-markdownify-server are vulnerable to Server-Side Request Forgery (SSRF) via the Markdownify.get() function. An attacker can craft a prompt that, once accessed by the MCP host, can invoke the webpage-to-markdown, bing-search-to-markdown, and youtube-to-markdown tools to issue requests and read the responses to attacker-controlled URLs, potentially leaking sensitive information.

CVE-2025-5276 Affected Mcp markdownify server Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
mcp-markdownify-server
npm
≤ 0.0.1

References

Frequently Asked Questions

What is CVE-2025-5276?
CVE-2025-5276 is a security vulnerability in Mcp markdownify server involving Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function under CWE-918: Server-Side Request Forgery (SSRF).
Which Mcp markdownify server versions are affected?
Affected versions include releases prior to current release patches across affected packages: mcp-markdownify-server.
What version fixes CVE-2025-5276?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is mcp-markdownify-server affected?
Yes, mcp-markdownify-server is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2025-5276?
CVE-2025-5276 has a CVSS v3.1 base score of 7.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N.
What CWE is associated with CVE-2025-5276?
CVE-2025-5276 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-5276?
Run the dependency tree command: 'npm ls mcp-markdownify-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-frq9-3hp2-xvxg",
  "modified" : "2025-05-29T17:27:26Z",
  "published" : "2025-05-29T06:31:17Z",
  "aliases" : [ "CVE-2025-5276" ],
  "summary" : "Markdownify MCP Server allows Server-Side Request Forgery (SSRF) via the Markdownify.get() function",
  "details" : "All versions of the package mcp-markdownify-server are vulnerable to Server-Side Request Forgery (SSRF) via the Markdownify.get() function. An attacker can craft a prompt that, once accessed by the MCP host, can invoke the webpage-to-markdown, bing-search-to-markdown, and youtube-to-markdown tools to issue requests and read the responses to attacker-controlled URLs, potentially leaking sensitive information.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N/E:P"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "mcp-markdownify-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "0.0.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-5276"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zcaceres/markdownify-mcp/commit/0284aa8f34d32c65e20d8cda2d429b7943c9af03"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/zcaceres/markdownify-mcp"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/zcaceres/markdownify-mcp/blob/224cf89f0d58616d2a5522f60f184e8391d1c9e3/src/server.ts#L20C17-L20C29"
  }, {
    "type" : "WEB",
    "url" : "https://security.snyk.io/vuln/SNYK-JS-MCPMARKDOWNIFYSERVER-10249387"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-29T17:27:26Z",
    "nvd_published_at" : "2025-05-29T05:15:21Z"
  }
}