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

Critical · published December 3, 2025

CVSS v3.1
9.0
EPSS
0%
Percentile
27.0
In the wild
Unconfirmed
What it is

🚨 A crafty SVG avatar upload is hiding a nasty surprise! Attackers can slip in malicious JavaScript, leading to a stored XSS when you least expect it. 🔥 Think of it like a seemingly harmless delivery box that, once opened, releases a swarm of locusts — one click and chaos ensues! In this case, trusting that cute avatar can lead to disastrous consequences for your ERPNext system. An attacker could exploit this vulnerability to take over accounts, escalate their privileges, or even compromise the entire ERPNext instance. This means losing control of sensitive data and possibly incurring hefty recovery costs — not exactly a fun day at the office!

Put simply

Think of it like a seemingly harmless delivery box that, once opened, releases a swarm of locusts — one click and chaos ensues! In this case, trusting that cute avatar can lead to disastrous consequences for your ERPNext system. In ERPNext v15.83.2 and Frappe Framework v15.86.0, improper validation of uploaded SVG images allows attackers to embed malicious scripts that execute when an administrator views the avatar image, leading to stored cross-site scripting (XSS).

What to do

An attacker could exploit this vulnerability to take over accounts, escalate their privileges, or even compromise the entire ERPNext instance. This means losing control of sensitive data and possibly incurring hefty recovery costs — not exactly a fun day at the office! Update to ERPNext v15.83.3 and Frappe Framework v15.86.1 immediately to mitigate this threat. Additionally, implement strict validation for uploaded files to ensure they don’t contain any executable scripts. 🛡️ You’ve got this! Stay vigilant and secure your system with these updates. Together, we can keep the internet safer! 💪😊

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00347 · 27.0th percentile
Published
2025-12-03T00:00Z
EPSS history
Timeline
  • 03 DEC 00:00Z
    In ERPNext v15.83.2 and Frappe Framework v15.86.0, improper validation of uploaded SVG avatar images allows attackers to embed malicious JavaScript
    cvelistv5