Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Frappe | Erpnext | 16.0.1 |
| Frappe | Frappe | 16.1.1 |
Related Weaknesses (CWE)
References
- http://frappe.comProduct
- https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31017Third Party Advisory
FAQ
What is CVE-2026-31017?
CVE-2026-31017 is a vulnerability with a CVSS score of 9.1 (CRITICAL). 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...
How severe is CVE-2026-31017?
CVE-2026-31017 has been rated CRITICAL with a CVSS base score of 9.1/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2026-31017?
Check the references section above for vendor advisories and patch information. Affected products include: Frappe Erpnext, Frappe Frappe.