CVE-2025-5273
JavaScript vulnerability analysis and mitigation

Overview

CVE-2025-5273 affects all versions of the mcp-markdownify-server package, a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format. The vulnerability was discovered and disclosed on May 28, 2025, by Raul Onitza-Klugman from Snyk Security Research. The vulnerability allows unauthorized access to files and directories through the get-markdown-file tool (Snyk Advisory).

Technical details

The vulnerability is classified as CWE-552 (Files or Directories Accessible to External Parties) and exists in the get-markdown-file tool functionality. It has received a CVSS v4.0 score of 8.2 (HIGH) with the vector string 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, and a CVSS v3.1 score of 6.5 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N (NVD).

Impact

When exploited, this vulnerability allows an attacker to read arbitrary files from the host running the server. The impact primarily affects confidentiality, as the attacker can access files that should be restricted, potentially exposing sensitive information (Snyk Advisory).

Mitigation and workarounds

A fix has been pushed to the master branch but has not yet been published as a new version. As a temporary workaround, administrators can set the MDSHAREDIR environment variable to restrict the directory from which files can be retrieved, using the command MDSHAREDIR=[SOME_PATH] pnpm run start (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66456CRITICAL9.1
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-66457HIGH7.5
  • JavaScriptJavaScript
  • elysia
NoYesDec 09, 2025
CVE-2025-65849MEDIUM6.9
  • JavaScriptJavaScript
  • altcha
NoNoDec 08, 2025
CVE-2025-66202MEDIUM6.5
  • JavaScriptJavaScript
  • astro
NoYesDec 09, 2025
CVE-2025-14284MEDIUM5.1
  • JavaScriptJavaScript
  • @tiptap/extension-link
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management