CVE-2025-65923 Cross-site scripting in n/a

Medium 5.4 Published Updated

Attackers can inject malicious JavaScript via CSV imports in ERPNext, leading to session hijacking or unauthorized actions when victims view the records.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-65923?

CVE-2025-65923 is a medium-severity cross-site scripting vulnerability in Frappe Erpnext, published on 3 Feb 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A Stored Cross-Site Scripting (XSS) vulnerability was discovered within the CSV import mechanism of ERPNext thru 15.88.1 when using the Update Existing Recordsoption. An attacker can embed malicious JavaScript code into a CSV field, which is then stored in the database and executed whenever the affected record is viewed by a user within the ERPNext web interface. This exposure may allow an attacker to compromise user sessions or perform unauthorized actions under the context of a victim's account.

Weakness: CWE-79

Which versions are affected by CVE-2025-65923?

It affects 1 product.

Products include Frappe Erpnext.

How do I fix CVE-2025-65923?

No fix has been published for CVE-2025-65923 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2025-65923 being exploited?

There is no known exploitation of CVE-2025-65923 in the wild and no public exploit code.

All Frappe Erpnext vulnerabilities

Sources

Also known as GHSA-f24j-7vph-7pq3.

Is CVE-2025-65923 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free