Skip to main content

Frappe Framework EUVDEUVD-2026-126724

| CVE-2026-130069 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-16 VulnCheck GHSA-3wwg-7wmq-2q3c
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privilege Website User
  2. Delivery
    Inject crafted stylesheet link tag into email template
  3. Exploit
    Reach get_email_html lacking role check
  4. Execution
    Premailer fetches attacker-chosen internal host
  5. Impact
    Internal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

frappe 0 <15.123.0
frappe 16.0.0 <16.50.0

Affected Packages

euvd frappe fix: 15.123.0, 16.50.0

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

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 5.0 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular open-source framework behind ERPNext, common but not ubiquitous
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

More in Frappe

View all
CVE-2025-67289 CRITICAL POC
9.6 Dec 22

Stored cross-site scripting leading to code execution in Frappe Framework 15.89.0 (and the ERPNext application built on

CVE-2018-3885 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3884 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3883 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2018-3882 HIGH POC
8.8 Sep 12

An exploitable SQL injection vulnerability exists in the authenticated part of ERPNext v10.1.6. Rated high severity (CVS

CVE-2025-66440 HIGH POC
8.8 Dec 15

Authenticated SQL injection in Frappe ERPNext through 15.89.0 allows low-privilege users to extract arbitrary database c

CVE-2025-66439 HIGH POC
8.8 Dec 15

SQL injection in Frappe ERPNext through 15.89.0 lets an authenticated attacker with a valid session and access to the Pa

CVE-2025-66437 HIGH POC
8.8 Dec 15

Authenticated server-side template injection in Frappe ERPNext through 15.89.0 lets a user who can create or modify an A

CVE-2020-6145 HIGH POC
8.8 Aug 10

An SQL injection vulnerability exists in the frappe.desk.reportview.get functionality of ERPNext 11.1.38. Rated high sev

CVE-2026-39352 HIGH POC
8.7 May 20

Arbitrary file read in the Frappe full-stack web application framework allows remote unauthenticated attackers to retrie

CVE-2025-10655 HIGH POC
8.6 Dec 09

SQL injection in Frappe HelpDesk 1.14.0 dashboard functionality allows authenticated attackers to execute arbitrary SQL

CVE-2025-52042 HIGH POC
8.2 Oct 01

In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at erpnext/buying/doctype/request_for_quotation/re

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy