Skip to main content

N A EUVDEUVD-2026-20511

| CVE-2026-31017 CRITICAL
Server-Side Request Forgery (SSRF) (CWE-918)
2026-04-08 mitre GHSA-2vgp-8568-m98f
9.1
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft HTML with malicious iframe element
  2. Delivery
    Submit via Print Format functionality
  3. Exploit
    Server renders HTML to PDF
  4. Execution
    PDF engine fetches external resource
  5. Impact
    SSRF 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 9.1 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy