CVE-2026-38432 Cross-site scripting in n/a
An attacker with template editing permissions can inject malicious JavaScript into ERPNext email templates, leading to code execution in victims' browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-38432?
CVE-2026-38432 is a medium-severity cross-site scripting vulnerability in Frappe Erpnext, published on 5 May 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-38432?
It affects 1 product.
Products include Frappe Erpnext.
How do I fix CVE-2026-38432?
No fix has been published for CVE-2026-38432 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-38432 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-38432 exists.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-78h5-gvjw-7pp9.