> CVE-2025-59155

« BACK_TO_HOME
PUBLISHED
2025-09-15 17:15
MODIFIED
2025-09-16 12:49
EPSS (Prob. Exploit)
0.36%
Top 71.9%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-10-25 GITHUB 🔗 2026-11-04 OSV 🔗 2026-03-01

> DESCRIPTION

hackmd-mcp is a Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants. From 1.4.0 to before 1.5.0, hackmd-mcp contains a server-side request forgery (SSRF) vulnerability when the server is run in HTTP transport mode. Arbitrary hackmdApiUrl values supplied via the Hackmd-Api-Url HTTP header or a base64-encoded JSON query parameter are accepted without validation, allowing attackers to redirect outbound API requests to internal network services, access internal endpoints, perform network reconnaissance, and bypass network access controls. The stdio transport mode is not affected because it only accepts stdio requests. The issue is fixed in version 1.5.0, which enforces allowed endpoints and supports the ALLOWED_HACKMD_API_URLS environment variable. Users should update to 1.5.0 or later or apply documented mitigations such as switching to stdio mode, restricting outbound network access, or filtering the Hackmd-Api-Url header and related query parameter via a reverse proxy.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> GITHUB SECURITY ADVISORY

GHSA-g5cg-6c7v-mmpw MODERATE

HackMD MCP Server has Server-Side Request Forgery (SSRF) vulnerability

AFFECTED PACKAGES:
NPM / hackmd-mcp
>= 1.4.0, < 1.5.0
Fixed in: 1.5.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

hackmd-mcp server-side request forgery in HTTP transport mode

AFFECTED PACKAGES:
Unknown / Unknown
3 versions affected
ALIASES:
GHSA-g5cg-6c7v-mmpw

> HISTORIQUE DES MODIFICATIONS

Première apparition
15/09/2025 17:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 15:08
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME