Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Network-reachable web app, low complexity, and only a common operational role (PR:L) with no user interaction; template code execution escapes document scope (S:C) giving full C/I/A impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Lifecycle Timeline
4DescriptionCVE.org
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.29.0, the validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals including frappe.utils, allowing an authenticated user with a common operational role to inject template expressions, execute arbitrary server-side code, and read data across the application. This issue is fixed in versions 15.118.0 and 16.29.0.
AnalysisAI
Server-side template injection in ERPNext's Process Statement of Accounts feature (versions prior to 15.118.0 and 16.29.0) lets an authenticated user with a common operational role inject Jinja template expressions into the subject, body, and pdf_name fields, which are rendered with unrestricted globals including frappe.utils, yielding arbitrary server-side code execution. Tagged RCE/SSTI (CWE-1336) and rated CVSS 9.9 with scope change; no public exploit identified at time of analysis, but the trivial exploitation path and low privilege requirement make this a high-priority patch.
Unlock full vulnerability intelligence
- Risk assessment & exploitation conditions
- Attack chain visualization
- Remediation with exact patch versions
- Threat intelligence from 22 sources
- Personal watchlist & email alerts
Free forever · No credit card required
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata
Vulnerability AssessmentAI
| Exploitation | Exploitation requires an authenticated ERPNext account with a common operational role that can create or edit Process Statement of Accounts records - the attacker must be able to write into the subject, body, or pdf_name fields of that specific doctype. … Additional conditions and limiting factors are described in the full assessment. |
| Risk Assessment | All signals point to a genuine high priority rather than an inflated CVSS. … Full risk analysis with EPSS, KEV, and SSVC signal comparison available after sign-in. |
| Exploit Scenario | An attacker holding a routine ERPNext operational account opens a Process Statement of Accounts record and enters a malicious Jinja expression (e.g., referencing frappe.utils) into the subject, body, or pdf_name field. When the record is validated or the statement email is generated and sent, the template engine evaluates the expression with unrestricted globals, executing the attacker's code on the ERPNext server. … |
| Remediation | Upgrade to a fixed release: ERPNext 15.118.0 for the v15 branch or 16.29.0 for the v16 branch (Vendor-released patch: 15.118.0 / 16.29.0), which add restrict_globals=True to the validate_template and render_template calls in process_statement_of_accounts.py - see the advisory at https://github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7 and PR https://github.com/frappe/erpnext/pull/56458 (commits 5f6952b, 88443e4, ecb6d48). … Detailed patch versions, workarounds, and compensating controls in full report. |
Recommended ActionAI
Within 24 hours: identify and catalog all ERPNext instances running affected versions (prior to 15.118.0 for branch 15, prior to 16.29.0 for branch 16), and immediately restrict or disable access to the Process Statement of Accounts feature for all non-administrative users. …
Sign in for detailed remediation steps and compensating controls.
Threat intelligence, references, and detailed analysis are available after sign-in.
Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c
Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e
Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor
Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve
changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic
A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all
Remote code execution in WGDashboard 4.3.2 and earlier lets authenticated attackers inject Server-Side Template Injectio
Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re
Server-side template injection in the TYPO3 'Powermail' extension lets an anonymous user submit Fluid template syntax th
Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb
AutoGPT versions 0.3.4 and earlier are vulnerable to a Server-Side Template Injection (SSTI) that could lead to Remote C
Remote code execution in Cachet through version 2.4.1 allows authenticated low-privilege users to inject Blade directive
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-55833