A Server-Side Request Forgery (SSRF) vulnerability exists in the Print Format functionality of ERPNext v16.0.1 and Frappe Framework v16.1.1, where user-supplied HTML is insufficiently sanitized before being rendered into PDF. When generating PDFs from user-controlled HTML content, the application allows the inclusion of HTML elements such as <iframe> that reference external resources. The PDF rendering engine automatically fetches these resources on the server side. An attacker can abuse this behavior to force the server to make arbitrary HTTP requests to internal services, including cloud metadata endpoints, potentially leading to sensitive information disclosure.
References
| Link | Resource |
|---|---|
| http://frappe.com | Product |
| https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31017 | Third Party Advisory |
Configurations
Configuration 1 (hide)
|
History
14 Apr 2026, 15:46
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Frappe erpnext
Frappe frappe Frappe |
|
| References | () http://frappe.com - Product | |
| References | () https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31017 - Third Party Advisory | |
| CPE | cpe:2.3:a:frappe:erpnext:16.0.1:*:*:*:*:*:*:* cpe:2.3:a:frappe:frappe:16.1.1:*:*:*:*:*:*:* |
09 Apr 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.1 |
| CWE | CWE-918 |
08 Apr 2026, 17:21
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-08 17:21
Updated : 2026-04-14 15:46
NVD link : CVE-2026-31017
Mitre link : CVE-2026-31017
CVE.ORG link : CVE-2026-31017
JSON object : View
Products Affected
frappe
- frappe
- erpnext
CWE
CWE-918
Server-Side Request Forgery (SSRF)
