VULNERABILITY INTELLIGENCE
CVE-2026-31017
CVSS score9.1 CRITICAL
EPSS probability0.24%
CISA KEVNot currently listed
Published2026-04-08
Last modified2026-07-25
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
Weakness classification
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-918
Primary references
- cve@mitre.org — Third Party Advisory