# 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…

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-04-08T00:00:00.000Z
- Modified: 2026-07-25T10:10:00.167Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- frappe erpnext: 16.0.1
- frappe frappe: 16.1.1

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/PhDg1410/CVE/tree/main/CVE-2026-31017> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-31017](https://www.cve.org/CVERecord?id=CVE-2026-31017), CVE Terms of Use, modified 2026-07-05
- NVD: [CVE-2026-31017](https://nvd.nist.gov/vuln/detail/CVE-2026-31017), Public domain, modified 2026-07-25

---

Page: https://cve.day/CVE-2026-31017 · Whole record: https://cve.day/CVE-2026-31017.json · Rebuilt by cve.day 2026-11-25T22:59:18.287Z
