CVE Explorer
CVE-2026-38431
ERPNext v15.103.1 and before is vulnerable to Server-Side Template Injection (SSTI). An attacker with permission to create or edit email templates can inject template expressions that are executed on the server when the template is rendered.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/adp/0/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-94","description":"CWE-94 Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/adp/0/problemTypes/0/descriptions/0
{"description":"n/a","lang":"en","type":"text"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://c0wking.hashnode.dev/ssti-in-erpnext-frappe-email-template-engine"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://c0wking.hashnode.dev/ssti-in-erpnext-frappe-email-template-engine"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:d155d370aed320ab535a1c2143fdfd4d9465c23235b0859ba0e41691a70f5a47 · sha256:c2c5d881dc6afe0c… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.