CVE-2026-31017: SSRF

Published Apr 8, 2026
·
Updated

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.

Affected Software

4 affected components
Frappe ERPNext=16.0.1
Frappe Frappe Framework=16.1.1
Frappe ERPNext=16.0.1
Frappe frappe=16.1.1

Event History

Apr 8, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·05:21 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-31017?

CVE-2026-31017 is categorized as a moderate severity Server-Side Request Forgery (SSRF) vulnerability.

2

How do I fix CVE-2026-31017?

To mitigate CVE-2026-31017, users should update to ERPNext version 16.0.2 or later, and Frappe Framework version 16.1.2 or later.

3

What are the potential risks associated with CVE-2026-31017?

The risks of CVE-2026-31017 include unauthorized access to internal systems through crafted PDF generation requests.

4

Which versions are affected by CVE-2026-31017?

CVE-2026-31017 affects ERPNext version 16.0.1 and Frappe Framework version 16.1.1.

5

What is the nature of the vulnerability in CVE-2026-31017?

CVE-2026-31017 is an SSRF vulnerability caused by insufficient sanitization of user-supplied HTML in PDF generation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203