CVE-2025-57350
NoneCSVTOJSON has a prototype pollution vulnerability
CVSS
—
EPSS
0.3%
Published
Sep 24, 2025
CISA due date
—
Cloudanix analysis
A flaw in a common tool that turns spreadsheet-style files into data structures lets attackers send specially made files that can crash or confuse programs using that tool.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Low
- Patch risk
- Low
What it actually does
Prototype pollution via unsanitized nested CSV header names in parser_jsonarray that allow modification of Object.prototype properties when processing untrusted input.
Why it matters to the business
Applications processing CSV data may experience denial of service or unpredictable behavior, increasing operational risk when handling external files.
How an attack unfolds
An attacker crafts a CSV file with header fields containing prototype references such as __proto__ and supplies it to any application using the vulnerable csvtojson library; the parser fails to sanitize these headers and mutates the base Object prototype, enabling subsequent DoS or logic abuse.
How to fix it
Upgrade keyang/node-csvtojson to commit abf5f59dce172d78adc3c62f4e9ff5b356e3565c or later equivalent to version 2.0.10; apply the corresponding Debian chromium package updates listed for each release.
How to confirm the fix worked
Confirm the installed csvtojson version meets or exceeds the fixed commit; test parsing of a CSV containing __proto__ headers and verify that Object.prototype remains unmodified.
Typical attack path
- Identify an application endpoint or workflow that accepts CSV input using csvtojson.
- Construct a malicious CSV containing header names that reference prototype chains.
- Submit the CSV to the target application.
- Trigger code paths that rely on unmodified prototype behavior to achieve DoS or unexpected results.
How to detect it
Review application logs for CSV parsing operations involving headers that contain prototype references; inspect error rates or unexpected object property changes after CSV ingestion.
What your security team should do
- Prioritize upgrade of all csvtojson instances to the fixed version within standard change windows.
- Inventory applications that ingest untrusted CSV and apply input validation or sandboxing until patched.
- Monitor dependency update feeds for downstream packages that embed csvtojson.
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | csvtojson | 0 | 2.0.13 |
| Chainguard | sqlpad | 0 | 7.5.7-r9 |
| Chainguard | sqlpad-compat | 0 | 7.5.7-r2 |
| Wolfi | sqlpad | 0 | 7.5.7-r9 |
| Wolfi | sqlpad-compat | 0 | 7.5.7-r2 |
Related vulnerabilities
- GHSA-f23m-r3pf-42rh lodash vulnerable to Prototype Pollution via array path bypass in `_.unset` and `_.omit` Also affects sqlpad
- CVE-2026-2950 Impact: Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the… Also affects sqlpad
- CVE-2026-33750 The brace-expansion library generates arbitrary strings containing a common prefix and… Also affects sqlpad
- GHSA-f886-m6hf-6m8v brace-expansion: Zero-step sequence causes process hang and memory exhaustion Also affects sqlpad
- GHSA-6457-6jrx-69cr Sequelize v6 Vulnerable to SQL Injection via JSON Column Cast Type Also affects sqlpad
- GHSA-9ppj-qmqm-q256 node-tar Symlink Path Traversal via Drive-Relative Linkpath Also affects sqlpad
- CVE-2026-30951 Sequelize is a Node.js ORM tool. Also affects sqlpad
- CVE-2026-31802 node-tar is a full-featured Tar for Node.js. Also affects sqlpad