Read the docs

Server-side template injection in Frappe Framework via message fields

Priority LOW 39CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.

Summary

Frappe Framework from 16.0.0 before 16.21.0 and before 15.111.0 contains a server-side template injection flaw. User-controlled message fields are rendered as templates without neutralization, enabling CWE-1336. An authenticated attacker holding a common operational role can inject template expressions that the server evaluates in an unrestricted context.

Written with Claude Haiku 5.5 from the sources below · 2026-11-03

Description from the CNA

Frappe Framework before 15.111.0 and 16.x before 16.21.0 contains a server-side template injection vulnerability because user-controlled message fields are rendered as templates without neutralization. An authenticated attacker holding a common operational role can inject template expressions that the server evaluates in an unrestricted context.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00305 23rd percentileScored 2026-11-07
Fix Fixed frappe (frappe): 16.21.0, 15.111.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
frappefrappe16.0.0 to before 16.21.016.21.0Patch availableCNA
frappefrappebefore 15.111.015.111.0Patch availableCNA
  • frappe Vendorfrappe Affected 16.0.0 to before 16.21.0 Fixed in 16.21.0 Patch available CNA
  • frappe Vendorfrappe Affected before 15.111.0 Fixed in 15.111.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:*——frappe
  • cpe:2.3:a:frappe:frappe:*:*:*:*:*:*:*:* Versions — — ·frappe

Remediation

Upgrade frappe to 16.21.0 for the 16.x branch and to 15.111.0 for the 15.x branch.

Written with Claude Haiku 5.5 from the sources below · 2026-11-03

  • Fix · CNA frappe (frappe) Fixed in 16.21.0
  • Fix · CNA frappe (frappe) Fixed in 15.111.0

Timeline

  1. 2026-10-29 Threatist record created from CVE-2026-119144
  2. 2026-10-29 Alias added: GHSA-38wh-wgq2-g439
  3. 2026-10-31 Priority changed: MEDIUM → LOW
  4. 2026-11-03 CISA SSVC decision points changed

References

  • TI-2026-28140 ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). CVSS 3.1CRITICAL 9.8
  • TI-2025-40873 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40872 An issue was discovered in Frappe ERPNext through 15.89.0. CVSS 3.1CRITICAL 9.8
  • TI-2025-40871 A Server-Side Template Injection (SSTI) vulnerability exists in the Frappe ERPNext… CVSS 3.1CRITICAL 9.8
  • TI-2025-32462 In Frappe ERPNext 15.57.5, the function get_rfq_containing_supplier() at… CVSS 3.1HIGH 8.2
  • TI-2025-32461 In Frappe ERPNext 15.57.5, the function get_stock_balance_for() at… CVSS 3.1HIGH 8.2
See all 321 →

Sources