CVE-2026-31017
Last modified
CVE-2026-31017 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
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 <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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Frappe | Erpnext | 16.0.1 |
| Frappe | Frappe | 16.1.1 |
References
- https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31017Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-31017?
How severe is CVE-2026-31017?
How do I fix CVE-2026-31017?
How Strix Helps
- One Click Account Takeover in GranolaHow a notification link broke out of Electron and led to a one-click account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-30999A heap buffer overflow in the av_bprint_finalize() function …7.5
- CVE-2026-3100The FTP Backup on the ADM will not properly strictly enforce…6.5
- CVE-2026-3101A vulnerability was found in Intelbras TIP 635G 1.12.3.5. Th…8.8
- CVE-2026-31013Dovestones Softwares ADPhonebook <4.0.1.1 has a reflected cr…6.1
- CVE-2026-31014Dovestones Softwares AD Self Update <4.0.0.5 is vulnerable t…6.3
- CVE-2026-31016Cross Site Request Forgery vulnerability in Squidex.io Squid…6.5
- CVE-2026-31018In Dolibarr ERP & CRM <= 22.0.4, PHP code detection and edit…8.8
- CVE-2026-31019In the Website module of Dolibarr ERP & CRM 22.0.4 and below…8.8
- CVE-2026-3102A vulnerability was determined in exiftool up to 13.49 on ma…8.8
- CVE-2026-31027TOTOlink A3600R v5.9c.4959 contains a buffer overflow vulner…9.8
- CVE-2026-3103A logic error in the remove_password() function in Checkmk G…5.4
- CVE-2026-3104A specially crafted domain can be used to cause a memory lea…7.5
Are you affected by CVE-2026-31017?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
