CVE-2025-57350

csvtojson: csvtojson prototype pollution

Published Sep 24, 2025 CVSS 3.1 · 8.6 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

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
History
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
Type Values Removed Values Added
Title csvtojson: csvtojson prototype pollution
References
Metrics threat_severity

None

threat_severity

Moderate

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'}

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
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Sep 24, 2025, 7:15 PM
Reserved
Aug 17, 2025, 12:00 AM
Status
Analyzed
Published
Sep 24, 2025, 6:15 PM
Modified
Jun 17, 2026, 9:43 AM
Severity
Moderate
Public date
Sep 24, 2025, 12:00 AM