← Vulnerability feed

Vulnerability record · CVE-2026-31017 · published 8 April 2026

CVE-2026-31017: Frappe erpnext server-side request forgery (ssrf) vulnerability

Frappe · Erpnext

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.

9.1 CVSS 3.1 Critical EPSS 0.42% · top 66.6% CWE-918 · Server-side request forgery (SSRF)
9.1CVSS 3.1 base score
0.42%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
1References
25 Jul 2026Last modified by NVD

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:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-31017 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.9CVE-2026-44442Frappe erpnext missing authorization vulnerabilityERPNext is a free and open source Enterprise Resource Planning tool. Prior to 16.9.1, certain endpoints failed to enforce proper authorization checks…EPSS 0.42%9.8CVE-2026-38431Frappe erpnext code injection vulnerabilityERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). An attacker with permission to create or edit email templates ca…EPSS 0.60%9.8CVE-2025-66205Frappe sql injection vulnerabilityFrappe is a full-stack web application framework. Prior to 15.86.0 and 14.99.2, a certain endpoint was vulnerable to error-based SQL injection due to…EPSS 0.31%9.8CVE-2019-14965Frappe code injection vulnerabilityAn issue was discovered in Frappe Framework 10 through 12 before 12.0.4. A server side template injection (SSTI) issue exists.EPSS 2.6%9.6CVE-2025-67289Frappe erpnext cross-site scripting vulnerabilityAn arbitrary file upload vulnerability in the Attachments module of Frappe Framework v15.89.0 allows attackers to execute arbitrary code via uploadin…EPSS 0.46%9.3CVE-2026-35614Frappe sql injection vulnerabilityFrappe is a full-stack web application framework. Prior to 16.14.0 and 15.104.0, Frappe has a SQL injection in bulk_update. This vulnerability is fix…EPSS 0.47%9.3CVE-2026-31877Frappe sql injection vulnerabilityFrappe is a full-stack web application framework. Prior to 15.84.0 and 14.99.0, a specially crafted request made to a certain endpoint could result i…EPSS 0.47%9.3CVE-2026-27471Frappe erpnext improper access control vulnerabilityERP is a free and open source Enterprise Resource Planning tool. In versions up to 15.98.0 and 16.0.0-rc.1 and through 16.6.0, certain endpoints lack…EPSS 0.44%

Source: NIST National Vulnerability Database (record CVE-2026-31017), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.