ERPNext
ERPNext: Server-Side Template Injection leading to Remote Code Execution
ERPNext is a free and open source Enterprise Resource Planning tool. Prior to 15.111.0 and 16.22.0, limited authenticated users can cross a permission boundary in Frappe safe execution because frappe.render_template is exposed without forcing restrict_globals, allowing server-side template injection and remote code execution. This issue is fixed in versions 15.111.0 and 16.22.0.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.9critical · scored by CNA · CWE-1336
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
frappe erpnext
- < 15.111.0
- >= 16.0.0, < 16.22.0
Fixed in 15.111.0, 16.22.0
Mitigation
Upgrade erpnext to 15.111.0 or 16.22.0 or later.
References
- Vendor advisory github.com/frappe/erpnext/security/advisories/…
- Patch github.com/frappe/frappe/commit/529d190a252863…
- Release notes github.com/frappe/erpnext/releases/tag/v15.111…
1 more
- Release notes github.com/frappe/erpnext/releases/tag/v16.22.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.