SSRF in Frappe Erpnext
CVE-2026-31017
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.
Vulnerability class: SSRF (Server-Side Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (14.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 15th percentile — 14.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.002 · change: -0.002
Affected products
- Frappe Erpnext — versions 16.0.1
- Frappe — versions 16.1.1
Weakness classification (CWE)
References
- frappe.com (Product)
- github.com/PhDg1410/CVE/tree/main/CVE-2026-31017 (Third Party Advisory)
Frequently asked questions
- What is CVE-2026-31017?
- CVE-2026-31017 is a critical-severity vulnerability in Frappe Erpnext, classified under Server-Side Request Forgery (SSRF). CVSS score: 9.1/10. Published 2026-04-08.
- How severe is CVE-2026-31017?
- Critical severity. CVSS v3 base score is 9.1 out of 10.