CVE-2025-65923
Stored XSS in ERPNext CSV Import Allows Session Hijacking
Publication date: 2026-02-03
Last updated on: 2026-02-11
Assigner: MITRE
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| frappe | erpnext | to 15.88.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Stored Cross-Site Scripting (XSS) issue found in the CSV import mechanism of ERPNext versions up to 15.88.1 when using the 'Update Existing Records' option.
An attacker can insert malicious JavaScript code into a CSV field during import. This code is then stored in the database and executed whenever a user views the affected record in the ERPNext web interface.
As a result, the attacker can potentially hijack user sessions or perform unauthorized actions on behalf of the victim.
How can this vulnerability impact me? :
The vulnerability can lead to compromise of user sessions, allowing attackers to impersonate legitimate users.
Attackers may perform unauthorized actions within the ERPNext system under the context of the victim's account.
This can result in data theft, unauthorized data modification, or other malicious activities depending on the permissions of the compromised user.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know