Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-65267
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 8 Nov 2026, 01:28 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-65267
Complete source record
{
"id": "a4e514ec8d8ca44c9fa55c7727a45e35deb42596930714297a5d4348344ea2fb",
"url": "https://osv.dev/vulnerability/CVE-2025-65267",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-65267",
"summary": "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.",
"evidence": "osv:CVE-2025-65267",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2025-65267",
"aliases": [
"CVE-2025-65267"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/frappe/erpnext",
"type": "GIT",
"events": [
{
"introduced": "8b9788ca7463d1254269258ba74ec7d087b875f3"
},
{
"last_affected": "8b9788ca7463d1254269258ba74ec7d087b875f3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:frappe:erpnext:15.83.2:*:*:*:*:*:*:*",
"range": [
{
"introduced": "15.83.2"
},
{
"last_affected": "15.83.2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"15.83.2",
"v15.83.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65267.json"
}
},
{
"ranges": [
{
"repo": "https://github.com/frappe/frappe",
"type": "GIT",
"events": [
{
"introduced": "7fa0aa040a33206914824d983b6343e06c5d05a8"
},
{
"last_affected": "7fa0aa040a33206914824d983b6343e06c5d05a8"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:frappe:frappe:15.86.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "15.86.0"
},
{
"last_affected": "15.86.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"15.86.0",
"v15.86.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-65267.json"
}
}
],
"modified": "2026-10-28T02:30:52.346171909Z",
"provider": "osv",
"references": [
"https://github.com/PhDg1410/CVE/tree/main/CVE-2025-65267",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65267.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-65267",
"https://github.com/frappe/erpnext",
"https://github.com/frappe/frappe"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/65xxx/CVE-2025-65267.json"
}
},
"related_cves": [
{
"value": "CVE-2025-65267",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 521343,
"published_at": "2025-12-03T00:00:00+00:00"
}