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
- 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.
Affected software
| Software | Affected versions |
|---|---|
Frappe FrameworkServers and applications · cpe:a:frappe:frappe |
|
About Frappe Framework
Low code web framework for real world applications, in Python and Javascript
- 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
Source code Website Package Package
Vulnerabilities in Frappe Framework
- In our list
- 135
- Published in the last 12 months
- 93
- Critical, last 12 months
- 10
- High, last 12 months
- 26
- Known exploited
- 0
- GHSA-vwqr-4mjv-ffrmUnauthorised sending of email in email communication due to missing validationHigh 8.5 19 Nov 2026
- CVE-2026-130069Frappe Framework before 15.123.0 and 16.x before 16.50.0 SSRF via get_email_htmlMedium 5.3 16 Nov 2026
- CVE-2026-47278Comment SpoofingMedium 6.9 12 Nov 2026
- GHSA-vp4r-5v6w-r962Blind SQL Injection via X-Frappe-Request-Id headerHigh 8.2 12 Nov 2026
- GHSA-c76w-4wg2-hpgfStored spreadsheet formula injection in CSV and XLSX exportsMedium 4.6 12 Nov 2026
- GHSA-qrxv-3vjh-gpx7Sandbox bypass via imported functions leaking into Jinja globals through module-path hooksHigh 12 Nov 2026