{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-72911","id":"CVE-2026-72911","title":"ERPNext: Possibility of server-side template injection due to missing validation","description":"ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.29.0, the validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals including frappe.utils, allowing an authenticated user with a common operational role to inje","descriptionLong":"ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.118.0 and 16.29.0, the validate_template and render_template calls in erpnext/accounts/doctype/process_statement_of_accounts/process_statement_of_accounts.py render subject, body, and pdf_name fields with unrestricted globals including frappe.utils, allowing an authenticated user with a common operational role to inject template expressions, execute arbitrary server-side code, and read data across the application. This issue is fixed in versions 15.118.0 and 16.29.0.","published":"2026-08-10T21:00:46.536Z","updated":"2026-10-28T02:30:33.607672365Z","reserved":"2026-08-10T17:57:26.143Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub_M"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"github.com"},{"version":"3.1","score":9.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["frappe erpnext"],"affectedProducts":[{"vendor":"frappe","product":"erpnext","defaultStatus":null,"versions":[{"version":"< 15.118.0","status":"affected"},{"version":">= 16.0.0, < 16.29.0","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-1336"],"aliases":["GHSA-qq49-v74j-hjh7"],"references":[{"url":"https://github.com/frappe/erpnext/security/advisories/GHSA-qq49-v74j-hjh7","tags":["x_refsource_CONFIRM","advisory"]},{"url":"https://github.com/frappe/erpnext/pull/56458","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/erpnext/commit/5f6952b15c1f6ee893770d5bc618558a6ba41a28","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/erpnext/commit/88443e4a97c6c0a40d85a9e6785577191296ee39","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/erpnext/commit/ecb6d48ec025e0c94abac35b2e4f7607f4c86465","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v15.118.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/frappe/erpnext/releases/tag/v16.29.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/72xxx/CVE-2026-72911.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72911","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00717,"epssPercentile":0.54698,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-72911","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72911","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-72911","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-72911","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}