CVE-2026-31017: A Server-Side Request Forgery (SSRF) vulnerability exists in the Print Format functionality of ERPNext v16.0.1
CVE-2026-31017 is a critical-severity flaw (CVSS 9.1) affecting erpnext, frappe. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.1 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 85%) |
| CISA exploited list | No |
| Weakness | CWE-918 |
| Published | 2026-04-08 |
| Last modified | 2026-07-25 |
Last updated 2026-07-25 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-31017?
erpnext: downgrade or apply the listed mitigation; frappe: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-31017 being exploited?
CVE-2026-31017 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-31017 affect?
CVE-2026-31017 affects erpnext, frappe. Severity is critical (CVSS 9.1). 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 generatin
How urgent is CVE-2026-31017?
Priority 40/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-44442 CRITICAL 9.9 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44447 HIGH 8.8 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44446 HIGH 8.8 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44440 MEDIUM 6.5 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool
- CVE-2026-44445 MEDIUM 6.5 UPGRADE ERPNext is a free and open source Enterprise Resource Planning tool