CVE-2025-65267 Cross-site scripting in n/a
Attackers can inject malicious JavaScript via SVG avatars, leading to stored XSS and potential account takeover or privilege escalation in ERPNext.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-65267?
CVE-2025-65267 is a critical cross-site scripting vulnerability in Frappe Erpnext, published on 3 Dec 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In ERPNext v15.83.2 and Frappe Framework v15.86.0, improper validation of uploaded SVG avatar images allows attackers to embed malicious JavaScript. The payload executes when an administrator clicks the image link to view the avatar, resulting in stored cross-site scripting (XSS). Successful exploitation may lead to account takeover, privilege escalation, or full compromise of the affected ERPNext instance.
Weakness: CWE-79
Which versions are affected by CVE-2025-65267?
It affects 2 products.
Products include Frappe Erpnext, Frappe Frappe.
How do I fix CVE-2025-65267?
No fix has been published for CVE-2025-65267 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-2025-65267 being exploited?
There is no known exploitation of CVE-2025-65267 in the wild and no public exploit code.
Other vulnerabilities in Frappe Erpnext
Sources
Also known as GHSA-33qr-xp8v-vv64.