Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege Website User
-
DeliveryInject crafted stylesheet link tag into email template
-
ExploitReach get_email_html lacking role check
-
ExecutionPremailer fetches attacker-chosen internal host
-
ImpactInternal response content returned to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated session (CVSS PR:L) but at any privilege level - the advisory explicitly includes portal Website Users, so a self-registered or low-trust account on a public Frappe portal is sufficient. The attacker must be able to supply or influence an email template that is passed to frappe.email.email_body.get_email_html, which before the fix lacked a role check; the injected stylesheet link tag is placed into an unescaped email template and processed by Premailer, which then fetches the referenced internal or external host and returns its content. Limiting factors: a valid account is required (no fully unauthenticated path), impact is limited to reading reachable content (no integrity or availability effect), and only versions before 15.123.0 and 16.x before 16.50.0 are affected. The fix (adding frappe.only_for("System Manager")) restricts the method to System Managers, so patched or properly role-restricted deployments are not exploitable by ordinary users. |
| Impact | This is a medium-severity SSRF (CVSS 4.0 base 5.3, CWE-918) whose signals are internally consistent and point to a moderate, not emergency, priority. The input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) shows network-reachable, low-complexity exploitation but requires authentication - PR:L means an attacker needs a valid account, though critically that account can be a low-trust portal Website User rather than an administrator, which widens the realistic attacker population on internet-facing Frappe/portal deployments. Impact is constrained: VC:L/VI:N/VA:N plus SC:L indicates the attacker can read limited content from internal or external hosts the server can reach (classic SSRF information exposure / internal reconnaissance) with no integrity or availability impact. There is no EPSS score provided, no CISA KEV listing, and no proof-of-concept or exploit reference in the input - only patch, source-code, and advisory references - so exploitation is not demonstrated. The vuln.today decision label is 'this_month', consistent with a real but non-urgent fix. Net: a genuine issue worth patching on a normal cadence, not a drop-everything event; its main value to an attacker is pivoting/SSRF-based internal reconnaissance after obtaining even a minimal portal account. |
| Exploit ScenarioDerived | An attacker who holds any authenticated account on a Frappe application - including a low-privilege portal Website User - crafts an email template containing a stylesheet link tag pointing at an internal host (for example a cloud metadata endpoint or an internal service). Because get_email_html lacked a role check, invoking it causes Premailer to fetch the attacker-specified URL and return that content, letting the attacker reach and read internal resources that are not otherwise exposed. No public exploit code is identified in the provided data; the vulnerability is network-reachable with low complexity but requires an authenticated session. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 16, 2026
Server-side request forgery in Frappe Framework's email rendering path allows any authenticated user, including self-registered portal Website Users, to make the server fetch internal or external hosts and return the fetched content to them. The flaw sits in frappe.email.email_body.get_email_html, which before 15.123.0 and 16.x before 16.50.0 performed no role check, so a low-trust account that can influence an email template can inject stylesheet link tags into the unescaped template that Premailer then dereferences. Impact is limited to confidentiality (read-only SSRF, no integrity or availability effect, CVSS 4.0 base 5.3 / CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N); no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vendor-released fix gates the method behind the System Manager role.
RemediationAI
Upgrade to Frappe Framework 15.123.0 or 16.50.0; the vendor confirms a patch is available and the fixes land in commits 5787684f0ad0352f414436d6f39479a9f35d3d9b and 887d027ffd9bb48544a7f68c3762670a480cb9e2 under https://github.com/frappe/frappe/pull/43688. Those releases apply frappe.only_for("System Manager") inside frappe.email.email_body.get_email_html, so after upgrading only System Manager accounts can invoke the method - this is the same restriction the vendor treats as the remediation, and organizations pinned to older builds cannot reproduce it without backporting that single role gate. Until upgrading, the effective compensating control is to ensure that only trusted System Manager accounts can create or modify email templates and other content that reaches get_email_html, and to review whether portal Website Users or other low-privilege accounts have any path to supply or influence template markup; where they do, remove that capability, accepting that it may break self-service or portal-driven email customization. No fixed build exists for 16.x below 16.50.0 or for the 15.x branch below 15.123.0, so staged upgrades should target those exact versions rather than intermediate ones.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-918 (server-side request forgery) in Frappe Framework's email pipeline. The affected routine, get_email_html in frappe/email/email_body.py (referenced lines 420-452 of tag v15.121.1), builds HTML for outgoing email and hands it to Premailer, a library that inlines CSS by fetching stylesheets referenced from link tags. Because the method applied no role restriction, template content that reached it unescaped could carry attacker-supplied <link rel="stylesheet"> tags, causing the Frappe server - not the attacker - to issue the HTTP request to whatever host was named, including internal network addresses and cloud metadata endpoints, and to embed the response in content returned to the requester. The upstream fix is minimal and diagnostic: it inserts frappe.only_for("System Manager") into get_email_html, restricting who may invoke the method at all, which confirms the root cause was a missing authorization check rather than a flaw in Premailer itself. The CPE cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:* is a wildcard product entry, so the authoritative bounds are the advisory's version ranges rather than the CPE string. The vulnerability class is a classic blind-to-semi-blind SSRF where the fetched body is surfaced back to the attacker, raising the usefulness of the primitive against internal-only services.
Know when Frappe gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Network-reachable and low-complexity, but needs any authenticated (incl. portal) account so PR:L; SSRF reads internal content across a trust boundary giving C:L and S:C, with no integrity or availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS
Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c
SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa
Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A
An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev
Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie
SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL
In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re
EUVD-2026-126724
GHSA-3wwg-7wmq-2q3c
NVD
CVE.org
EPSS
Exploit-DB