Frappe Framework before 15.123.0 and 16.x before 16.50.0 SSRF via get_email_html
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 16, 2026
- Updated
- Nov 17, 2026
- Reserved
- Nov 16, 2026
Description
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.
| Product | Versions |
|---|---|
| frappe frappe | before 15.123.0 Affected16.0.0 to before 16.50.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 5.0 Medium | VulnCheck |
Weaknesses
- CWE-918 Server-Side Request Forgery (SSRF)
References
- https://github.com/frappe/frappe/pull/43688Issue TrackerPatch
- https://github.com/frappe/frappe/blob/v15.121.1/frappe/email/email_body.py#L420-L452Technical Details
- https://github.com/frappe/frappe/commit/5787684f0ad0352f414436d6f39479a9f35d3d9bPatch
- https://github.com/frappe/frappe/commit/887d027ffd9bb48544a7f68c3762670a480cb9e2Patch
- frappe v15.123.0 Release NotesRelease Notes
- frappe v16.50.0 Release NotesRelease Notes
- VulnCheck Advisory: Frappe Framework before 15.123.0 and 16.x before 16.50.0 SSRF via get_email_htmlThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.