CVE-2025-57350
Last modified
CVE-2025-57350 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Keyangxiang | Csvtojson | < 2.0.10 |
References
- https://github.com/Keyang/node-csvtojson/issues/498Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-57350?
How severe is CVE-2025-57350?
How do I fix CVE-2025-57350?
Are you affected by CVE-2025-57350?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
