CVE-2025-57350 CSVTOJSON has a prototype pollution vulnerability
Prototype pollution in csvtojson allows attackers to cause denial of service or unexpected behavior via malicious CSV headers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-57350?
CVE-2025-57350 is a high-severity vulnerability in n/a, published on 24 Sep 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The csvtojson package, a tool for converting CSV data to JSON with customizable parsing capabilities, contains a prototype pollution vulnerability in versions prior to 2.0.10. This issue arises due to insufficient sanitization of nested header names during the parsing process in the parser_jsonarray component. When processing CSV input containing specially crafted header fields that reference prototype chains (e.g., using __proto__ syntax), the application may unintentionally modify properties of the base Object prototype. This vulnerability can lead to denial of service conditions or unexpected behavior in applications relying on unmodified prototype chains, particularly when untrusted CSV data is processed. The flaw does not require user interaction beyond providing a maliciously constructed CSV file.
Weakness: CWE-1321
Which versions are affected by CVE-2025-57350?
2 open source packages ship an affected version, including csvtojson. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
csvtojson npm | All versions | 2.0.13 |
csvtojson npm | All versions | 2.0.13 |
Products include Keyangxiang Csvtojson.
How do I fix CVE-2025-57350?
Upgrade csvtojson to 2.0.13 or later.
Is CVE-2025-57350 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57350 exists.
Sources
Also known as CLEANSTART-2026-MC89115, CLSA-2026-1780620677, GHSA-vrw9-g62v-7fmf.