Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft HTML with malicious iframe element
-
DeliverySubmit via Print Format functionality
-
ExploitServer renders HTML to PDF
-
ExecutionPDF engine fetches external resource
-
ImpactSSRF to internal service
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Remote unauthenticated attacker can exploit ERPNext v16.0.1 or Frappe Framework v16.1.1 Print Format functionality. Requires access to create or modify HTML content in print formats. Server-side PDF rendering with unsanitized HTML processing is the vulnerable component. No user interaction needed beyond triggering PDF generation. |
| Impact | Critical CVSS 9.1 with unauthenticated network access and high confidentiality/integrity impact. Low observed exploitation activity (EPSS 0.02%) suggests limited attacker adoption despite severe attack surface. SSRF via PDF rendering exposes internal services and cloud metadata endpoints. Urgency depends on whether organization uses ERPNext v16.0.1/Frappe v16.1.1 with user-controlled print formats. |
| Exploit ScenarioDerived | Unauthenticated attacker crafts HTML with embedded iframe pointing to internal metadata service (e.g., AWS 169.254.169.254). Application renders HTML to PDF without sanitization; PDF engine fetches resource server-side, returning sensitive credentials or service details to attacker via response analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 08, 2026
Server-Side Request Forgery in ERPNext 16.0.1 and Frappe Framework 16.1.1 enables unauthenticated attackers to force servers to make arbitrary HTTP requests to internal services through insufficiently sanitized HTML in Print Format PDF generation. Attackers inject HTML elements like <iframe> referencing external resources, which the PDF rendering engine automatically fetches server-side, exposing cloud metadata endpoints and internal network resources. No public exploit identified at time of analysis. CVSS 9.1 severity reflects network-accessible attack vector requiring no authentication or user interaction.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed per GitHub repository at https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31017. Primary mitigation: implement strict HTML sanitization allowlisting for Print Format inputs, removing <iframe>, <embed>, <object>, and other resource-fetching elements before PDF rendering. Deploy egress filtering to block server-initiated requests to RFC1918 private address spaces and cloud metadata endpoints (169.254.169.254, fd00:ec2::254). Monitor https://nvd.nist.gov/vuln/detail/CVE-2026-31017 and http://frappe.com for vendor-released patched versions. If immediate patching unavailable, disable Print Format functionality or restrict access to authenticated trusted users only until sanitization controls are verified.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Root cause is inadequate input sanitization (CWE-918) during HTML-to-PDF conversion in Print Format functionality. PDF rendering engine processes user-controlled HTML without filtering resource-fetching elements, allowing attackers to craft malicious payloads triggering server-initiated requests. Vulnerability exploits trust boundary between user input layer and server-side rendering process, bypassing network perimeter controls through legitimate application functionality.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionNVD
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.
Executive ViewAI
ERPNext 16.0.1 and Frappe Framework 16.1.1 contain a critical Server-Side Request Forgery vulnerability in PDF generation that allows unauthenticated attackers to force affected servers to retrieve internal resources and cloud metadata, potentially exposing sensitive infrastructure details and enabling lateral movement into internal networks. Organizations running these versions face immediate risk of credential exposure and unauthorized access to backend systems without requiring any user authentication.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict PDF print format functionality to authenticated users only via role-based access controls; (2) Implement network-level controls to prevent PDF rendering servers from connecting to internal IP ranges, cloud metadata endpoints (169.254.169.254, 10.0.0.0/8, etc.), and non-approved external domains; (3) Disable HTML tag processing in print formats or sanitize <iframe>, <img>, and <script> elements; (4) Isolate PDF rendering services on segregated network segments with explicit egress filtering; (5) Monitor outbound HTTP/HTTPS connections from ERPNext servers for anomalous requests to internal resources.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-20511
GHSA-2vgp-8568-m98f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB