---
id: CVE-2026-130069
title: >-
  Frappe Framework before 15.123.0 and 16.x before 16.50.0 SSRF via
  get_email_html
summary: >-
  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 Us…
severity: medium
cvss: 5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-918
vendor: frappe
product: frappe
affected:
  - frappe < 15.123.0
  - frappe >= 16.0.0 < 16.50.0
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-17T16:03:14.955851Z'
published: '2026-11-16'
updated: '2026-11-17'
sourceUpdated: '2026-11-17T16:20:22.258Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-130069'
references:
  - url: 'https://github.com/frappe/frappe/pull/43688'
  - url: >-
      https://github.com/frappe/frappe/blob/v15.121.1/frappe/email/email_body.py#L420-L452
  - url: >-
      https://github.com/frappe/frappe/commit/5787684f0ad0352f414436d6f39479a9f35d3d9b
  - url: >-
      https://github.com/frappe/frappe/commit/887d027ffd9bb48544a7f68c3762670a480cb9e2
  - url: 'https://github.com/frappe/frappe/releases/tag/v15.123.0'
    label: frappe v15.123.0 Release Notes
  - url: 'https://github.com/frappe/frappe/releases/tag/v16.50.0'
    label: frappe v16.50.0 Release Notes
  - url: >-
      https://www.vulncheck.com/advisories/frappe-framework-before-15.123.0-and-16-x-before-16.50.0-ssrf-via-get-email-html
    label: >-
      VulnCheck Advisory: Frappe Framework before 15.123.0 and 16.x before
      16.50.0 SSRF via get_email_html
tags:
  - cve.org
epss: 0.00237
epssPercentile: 0.14658
ingestedAt: '2026-11-16T22:17:25.261Z'
---

## Overview

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.

## Affected

- `frappe < 15.123.0`
- `frappe >= 16.0.0 < 16.50.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
