CVE-2026-31017

Source
https://cve.org/CVERecord?id=CVE-2026-31017
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31017.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31017
Published
2026-04-08T00:00:00Z
Modified
2026-08-12T03:51:23Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
[none]
Details

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

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31017.json"
}
References

Affected packages

Git / github.com/frappe/erpnext

Affected ranges

Type
GIT
Repo
https://github.com/frappe/erpnext
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:frappe:erpnext:16.0.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "16.0.1"
        },
        {
            "last_affected": "16.0.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

16.*
16.0.1
v16.*
v16.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31017.json"

Git / github.com/frappe/frappe

Affected ranges

Type
GIT
Repo
https://github.com/frappe/frappe
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:frappe:frappe:16.1.1:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "16.1.1"
        },
        {
            "last_affected": "16.1.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

16.*
16.1.1
v16.*
v16.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31017.json"