CVE-2026-31017

Severity CVSS v4.0:
Pending analysis
Type:
CWE-918 Server-Side Request Forgery (SSRF)
Publication date:
08/04/2026
Last modified:
14/04/2026

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 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:frappe:erpnext:16.0.1:*:*:*:*:*:*:*
cpe:2.3:a:frappe:frappe:16.1.1:*:*:*:*:*:*:*