CVE-2025-66438
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 Frappe ERPNext versions through 15.89.0. It occurs in the Print Format rendering mechanism where an authenticated attacker with permission to create or modify a Print Format can inject arbitrary Jinja expressions into the html field. When the malicious Print Format is saved and the get_html_and_style() API is called with a target document, it triggers the rendering process that can leak sensitive database information by exploiting exposed functions like frappe.db.sql.
How can this vulnerability impact me? :
The vulnerability can lead to information disclosure from the database, including database version, schema details, or other sensitive values depending on the injected payload. This means an attacker could gain unauthorized access to sensitive internal data, potentially compromising the confidentiality and integrity of your system's data.