XSS in Frappe Erpnext
CVE-2025-65267
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (31.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 31.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.000
Affected products
- Frappe Erpnext — versions 15.83.2
- Frappe — versions 15.86.0
Weakness classification (CWE)
References
- github.com/frappe/frappe (Product)
- github.com/frappe/erpnext (Product)
- github.com/PhDg1410/CVE/tree/main/CVE-2025-65267 (Third Party Advisory)
Frequently asked questions
- What is CVE-2025-65267?
- CVE-2025-65267 is a critical-severity vulnerability in Frappe Erpnext, classified under Cross-site Scripting. CVSS score: 9.0/10. Published 2025-12-03.
- How severe is CVE-2025-65267?
- Critical severity. CVSS v3 base score is 9.0 out of 10.