All vulnerabilities

Servers and applications

CVE-2026-31017

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…

Severity
Critical 9.1
Published
8 Apr 2026
Last changed
25 Jul 2026
Added to UpHeron
3 Nov 2026
Exploit chance
0.2% in the next 30 daysHigher than 15% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Server-side request forgery (CWE-918)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Sources
NVD

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 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.

From NVD.

Affected software

SoftwareAffected versions
Frappe FrameworkServers and applications · cpe:a:frappe:frappe
  • Version 16.1.1

About Frappe Framework

Low code web framework for real world applications, in Python and Javascript

From its GitHub repository.
Weekly downloads (PyPI)
222,508PyPI Stats, 15 Nov 2026
GitHub stars
11,099GitHub, 15 Nov 2026
Forks
5,538GitHub, 15 Nov 2026
Latest release
v15.126.1GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
MITGitHub
First published on GitHub
8 Jun 2011GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-31017
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-31017