Skip to main content
VulnerabilityPublished

CVE-2025-65267: frappe · Cross-site Scripting

Affects frappeSource CVE Database V5

0

Not known to be exploited · CVSS 9.0 Critical.

Data as of 26 Oct 2026, 13:47 UTC

CVSS 3.1 base score
9.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Dec 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
GitHubfrappe/frappepkg:github/frappe/frappeOther threatsAffected
  • >=15.86.0
Fixed in–
GitHubfrappe/erpnextpkg:github/frappe/erpnextOther threatsAffected
  • >=15.83.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Immediately restrict or disable SVG avatar image uploads until a patch is available.
  2. Implement server-side SVG sanitization using robust libraries that remove script elements and potentially dangerous attributes before accepting uploads.
  3. Enforce strict Content Security Policy (CSP) headers to limit script execution contexts, especially for administrator interfaces.
  4. Educate administrators to avoid clicking on untrusted or unexpected avatar image links.
  5. Monitor logs for suspicious avatar upload activity and administrator interactions with avatar images.
  6. Apply principle of least privilege to administrator accounts to reduce risk if compromised.
  7. Stay alert for official patches or updates from ERPNext and Frappe Framework and apply them promptly once released.
  8. Consider additional network segmentation and monitoring around ERPNext instances to detect and contain potential exploitation attempts.
  9. Conduct internal security reviews and penetration testing focusing on input validation and XSS vectors within ERPNext deployments.

Description

CVE-2025-65267 is a critical stored cross-site scripting (XSS) vulnerability in ERPNext v15.83.2 and Frappe Framework v15.86.0. It arises from improper validation of uploaded SVG avatar images, allowing attackers to embed malicious JavaScript. The payload executes when an administrator clicks the avatar image link, potentially leading to account takeover, privilege escalation, or full system compromise. The vulnerability requires low attack complexity but does need some privileges and user interaction. Exploitation impacts confidentiality, integrity, and availability of the ERP system. No known exploits are currently reported in the wild.

References

Community reviews

Loading reviews…