Read the docs

Server-side request forgery in Frappe Framework via get_email_html

Priority LOW 39CWE-918Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-918 and the CVSS impact.

Summary

Frappe Framework before 15.123.0 and 16.x before 16.50.0 contains a server-side request forgery flaw 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, which makes Premailer fetch internal or external hosts and return their content.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

Description from the CNA

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.

Why it matters now

Fix Fixed frappe (frappe): 15.123.0, 16.50.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
frappefrappebefore 15.123.0; 16.0.0 to before 16.50.015.123.0, 16.50.0Patch availableCNA
  • frappe Vendorfrappe Affected before 15.123.0; 16.0.0 to before 16.50.0 Fixed in 15.123.0, 16.50.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*——frappe
  • cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:* Versions — — ·frappe

Remediation

Upgrade Frappe Framework to version 15.123.0 for the 15.x branch and to version 16.50.0 for the 16.x branch.

Written with Claude Haiku 5.5 from the sources below · 2026-11-17

  • Fix · CNA frappe (frappe) Fixed in 15.123.0, 16.50.0

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-130069
  2. 2026-11-17 Alias added: GHSA-3wwg-7wmq-2q3c

References

  • TI-2026-28140 ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). CVSS 3.1CRITICAL 9.8
  • TI-2025-40873 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40872 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40871 A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe ERPNext… CVSS 3.1CRITICAL 9.8
  • TI-2025-32462 In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at… CVSS 3.1HIGH 8.2
  • TI-2025-32461 In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at… CVSS 3.1HIGH 8.2
See all 334 →

Sources