# CVE-2026-137308: markdownify-mcp before 1.2.0 SSRF Protection Bypass via validateUrl and validateRepoUrl


- **Severity:** High 8.3 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Fix available:** No
- **Published:** 26 Nov 2026
- **Updated:** 26 Nov 2026
- **Also known as:** GHSA-mqxc-j2ww-xfvx, GHSA-pxwh-pcrm-vrm3

## What is CVE-2026-137308?

CVE-2026-137308 is a high-severity vulnerability in zcaceres markdownify-mcp, published on 26 Nov 2026. 

### Official description

markdownify-mcp before 1.2.0 contains a server-side request forgery vulnerability that allows attackers to bypass URL validation by supplying DNS names, bracketed IPv6 literals, or IPv4-mapped IPv6 addresses. Attackers can influence URLs passed to webpage-to-markdown or git-repo-to-markdown through prompt injection to fetch loopback services, internal hosts, and cloud metadata endpoints.

Weakness: CWE-918 (Server-Side Request Forgery)

## Which versions are affected by CVE-2026-137308?

1 open source package ship an affected version, including mcp-markdownify-server.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `mcp-markdownify-server` | npm | `pkg:npm/mcp-markdownify-server` | All versions | 1.2.0 |

## How do I fix CVE-2026-137308?

Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.

## Is CVE-2026-137308 being exploited?

There is no known exploitation of CVE-2026-137308 in the wild and no public exploit code.

Public exploit code:

- markdownify-mcp before 1.2.0: URL validation bypassed by IPv4-mapped IPv6 — prompt-injected tool URLs fetch loopback and internal services. Verbatim address guard from ee00464: fetched on vuln, refused on fixed (github_poc): https://github.com/googlesky/CVE-2026-137308

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-137308 and fix it if it is affected.

What it is: CVE-2026-137308 is a high-severity vulnerability in zcaceres markdownify-mcp, published on 26 Nov 2026. 
Exploitation: There is no known exploitation of CVE-2026-137308 in the wild and no public exploit code.

Affected packages and fixed versions:
- mcp-markdownify-server (npm): affected all versions; fixed in 1.2.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-137308/ (Markdown: https://insights.sbomify.com/CVE-2026-137308/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-137308
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-137308
- OSV: https://osv.dev/vulnerability/CVE-2026-137308

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-137308/
Summaries are generated and may contain mistakes; the official description above is the record.
