CVE-2025-66437
BaseFortify
Publication date: 2025-12-15
Last updated on: 2025-12-16
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| frappe | erpnext | 15.89.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-1336 | The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Server-Side Template Injection (SSTI) in the get_address_display method of Frappe ERPNext up to version 15.89.0. It occurs because the method renders address templates using a function that processes attacker-controlled data in the template field. Although a sandbox environment is used, dangerous functions remain accessible, allowing an authenticated attacker with permission to create or modify Address Templates to inject malicious Jinja expressions. This can lead to server-side code execution or disclosure of database information.
How can this vulnerability impact me? :
An attacker exploiting this vulnerability can execute arbitrary code on the server or access sensitive database information. This can lead to unauthorized control over the server, data breaches, and potential disruption of services.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting or disabling the ability for users to create or modify Address Templates until a patch is applied, reviewing and sanitizing any existing Address Templates for malicious Jinja expressions, and applying updates to Frappe ERPNext beyond version 15.89.0 where this vulnerability is fixed. Additionally, monitoring and limiting permissions related to Address Template management can reduce risk.