CVE-2026-31017: n/a
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.
AI Analysis
Technical Summary
This vulnerability exists in the Print Format functionality of ERPNext v16.0.1 and Frappe Framework v16.1.1, where user-controlled HTML content is rendered into PDFs without adequate sanitization. The PDF rendering engine processes HTML elements such as <iframe> that reference external URLs, causing the server to perform HTTP requests to those URLs. An attacker can leverage this to induce the server to send requests to internal or cloud metadata endpoints, leading to possible sensitive data disclosure. The CVSS score is 9.1 (critical), indicating high impact on confidentiality and integrity without requiring privileges or user interaction. No official patch or remediation level is currently documented, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an attacker to perform SSRF attacks via the PDF generation process, enabling the server to make arbitrary HTTP requests to internal network resources or cloud metadata services. This can lead to sensitive information disclosure and compromise of internal infrastructure confidentiality. The vulnerability does not affect availability but has high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Print Format feature to trusted users only and consider disabling PDF generation from user-supplied HTML. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-31017: n/a
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 v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the Print Format functionality of ERPNext v16.0.1 and Frappe Framework v16.1.1, where user-controlled HTML content is rendered into PDFs without adequate sanitization. The PDF rendering engine processes HTML elements such as <iframe> that reference external URLs, causing the server to perform HTTP requests to those URLs. An attacker can leverage this to induce the server to send requests to internal or cloud metadata endpoints, leading to possible sensitive data disclosure. The CVSS score is 9.1 (critical), indicating high impact on confidentiality and integrity without requiring privileges or user interaction. No official patch or remediation level is currently documented, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation allows an attacker to perform SSRF attacks via the PDF generation process, enabling the server to make arbitrary HTTP requests to internal network resources or cloud metadata services. This can lead to sensitive information disclosure and compromise of internal infrastructure confidentiality. The vulnerability does not affect availability but has high impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the Print Format feature to trusted users only and consider disabling PDF generation from user-supplied HTML. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-09T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d737031cc7ad14da4194d3
Added to database: 04/09/2026, 05:20:03 UTC
Last enriched: 07/05/2026, 21:45:28 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 180
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.