---
id: "CVE-2026-130069"
page: "https://infrastack.ai/live/CVE-2026-130069"
kind: "vulnerability"
aliases: ["CVE-2026-130069"]
title: "Frappe Framework: authenticated users can make the server fetch internal hosts"
severity: "medium"
cvss: 5.3
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["erpnext", "frappe", "package", "self-hosted"]
not_affected_if: ["patched-version"]
published_at: "2026-11-16T22:18:22+00:00"
first_seen_at: "2026-11-16T22:39:14+00:00"
updated_at: "2026-11-16T22:41:10+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130069", "first_seen_at": "2026-11-16T22:39:14+00:00"}]
exploit_sources: []
---

# Frappe Framework: authenticated users can make the server fetch internal hosts

Link for people: https://infrastack.ai/live/CVE-2026-130069 (this .md is for agents)

Frappe Framework lets logged-in users, including portal website users, inject stylesheet link tags into email templates that the server renders. The server then fetches those URLs, letting an attacker reach internal hosts and read the returned content.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed Frappe version with `bench version` or the `frappe` entry in your app's lock file.
- Confirm whether any version is below `15.123.0` or below `16.50.0` on the 16.x line.

## Fix

- Frappe Framework 15.x: move to `15.123.0` or later.
- Frappe Framework 16.x: move to `16.50.0` or later.

## Timeline

- 2026-11-16T22:39:14+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-130069

## Documents

- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/frappe-framework-before-15.123.0-and-16-x-before-16.50.0-ssrf-via-get-email-html
- [fix] Patch: github.com https://github.com/frappe/frappe/commit/5787684f0ad0352f414436d6f39479a9f35d3d9b
- [fix] Patch: github.com https://github.com/frappe/frappe/commit/887d027ffd9bb48544a7f68c3762670a480cb9e2
- [fix] Release notes: github.com https://github.com/frappe/frappe/releases/tag/v15.123.0
- [fix] Release notes: github.com https://github.com/frappe/frappe/releases/tag/v16.50.0

## From the sources

Frappe Framework before 15.123.0 and 16.x before 16.50.0 contains a server-side request forgery vulnerability in the frappe.email.email_body.get_email_html method, which lacks role checks. Authenticated users, including portal Website Users, can inject stylesheet link tags into unescaped email templates, causing Premailer to fetch internal or external hosts and return the content.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
