Server-Side Request Forgery in ERPNext and Frappe Framework
CVE-2026-31017

9.1CRITICAL

Key Information:

Vendor

Frappe

Status
Vendor
CVE Published:
8 April 2026

What is CVE-2026-31017?

A vulnerability affecting ERPNext and Frappe Framework enables attackers to exploit insufficient sanitization of user-supplied HTML in the Print Format functionality. When generating PDFs, malicious users can incorporate HTML elements like , causing the server to make unauthorized requests to internal services. This could result in the exposure of sensitive data, such as information from cloud metadata endpoints, thereby compromising security.

References

CVSS V3.1

Score:
9.1
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.