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.
Advisories
Source ID Title
EUVD EUVD EUVD-2025-31040 CSVTOJSON has a prototype pollution vulnerability
Github GHSA Github GHSA GHSA-vrw9-g62v-7fmf CSVTOJSON has a prototype pollution vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Fri, 17 Oct 2025 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Keyangxiang
Keyangxiang csvtojson
CPEs cpe:2.3:a:keyangxiang:csvtojson:*:*:*:*:*:node.js:*:*
Vendors & Products Keyangxiang
Keyangxiang csvtojson

Sat, 27 Sep 2025 00:15:00 +0000

Type Values Removed Values Added
Title csvtojson: csvtojson prototype pollution
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 24 Sep 2025 20:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-1321
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 24 Sep 2025 18:15:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-09-24T19:15:08.267Z

Reserved: 2025-08-17T00:00:00.000Z

Link: CVE-2025-57350

cve-icon Vulnrichment

Updated: 2025-09-24T19:14:43.248Z

cve-icon NVD

Status : Analyzed

Published: 2025-09-24T18:15:41.463

Modified: 2025-10-17T14:56:11.183

Link: CVE-2025-57350

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-09-24T00:00:00Z

Links: CVE-2025-57350 - Bugzilla

cve-icon OpenCVE Enrichment

No data.