Description
ERPNext v15.103.1 and before is vulnerable to Cross Site Scripting (XSS) in the Email Template engine. An attacker with permission to create or edit email templates can inject malicious JavaScript code that are executed on the victim's browser when the template is applied.
Affected products
frappe: erpnext
References2
- c0wking.hashnode.dev/stored-xss-in-erpnext-frappe-email-templat… ExploitThird Party Advisory
- c0wking.hashnode.dev/stored-xss-in-erpnext-frappe-email-templat… ExploitThird Party Advisory
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 7 · as of 13 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.