# CVE-2025-57350: CSVTOJSON has a prototype pollution vulnerability

- Severity: High 8.6 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-24T00:00:00.000Z
- Modified: 2026-09-10T03:50:28.851Z
- Also known as: GHSA-vrw9-g62v-7fmf
- Weaknesses: CWE-1321
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- csvtojson (npm): before 2.0.13
- keyangxiang csvtojson: before 2.0.10

## Every score

- CISA-ADP: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`

## References

- <https://github.com/VulnSageAgent/PoCs/tree/main/JavaScript/prototype-pollution/CVE-2025-57350> (exploit, third-party-advisory, web)
- <https://github.com/Keyang/node-csvtojson/issues/498> (issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-57350> (advisory)
- <https://github.com/Keyang/node-csvtojson/issues/502> (web)
- <https://github.com/Keyang/node-csvtojson/commit/4caeebd13b67be63282a7bbed3ca0cf9813f4bfc> (web)
- <https://github.com/Keyang/node-csvtojson> (package)
- <https://security.snyk.io/vuln/SNYK-JS-CSVTOJSON-13109616> (web)

## Sources

- CVE List: [CVE-2025-57350](https://www.cve.org/CVERecord?id=CVE-2025-57350), CVE Terms of Use, modified 2025-09-24
- GitHub Advisory Database: [GHSA-vrw9-g62v-7fmf](https://github.com/advisories/GHSA-vrw9-g62v-7fmf), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-57350](https://nvd.nist.gov/vuln/detail/CVE-2025-57350), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-57350 · Whole record: https://cve.day/CVE-2025-57350.json · Rebuilt by cve.day 2026-11-25T22:59:05.138Z
