Vulnerability
CVE-2026-9673
Versions of the package json-2-csv from 3.15.0 and before 5.5.11 are vulnerable to CSV Injection via the preventCsvInjection option which can be bypassed. An attacker can inject formulas into CSV files, which execute when the files are opened in spreadsheet applications.
25 advisories report this vulnerability, across 3 ecosystems.
Advisories in Chainguard
- CGA-27gv-r2rx-8349
- CGA-2xm7-jx65-g55h
- CGA-37gj-6v33-f44f
- CGA-3wgc-jjxc-vw24
- CGA-4cc4-mxgv-42f9
- CGA-4jwj-59hg-8g2j
- CGA-56h3-cp23-5q3h
- CGA-5ccj-24fq-rg8m
- CGA-5xqg-82w6-2p64
- CGA-64hg-q5w7-29qg
- CGA-78m9-r9gc-fvjg
- CGA-7gqg-3xx2-vfjm
- CGA-8f96-9c46-43p4
- CGA-cj35-hgcc-gggj
- CGA-crrj-g9mc-9cqp
- CGA-fwmv-9jwp-fpqv
- CGA-h9mm-289q-68pr
- CGA-hmc3-2mjg-r9xf
- CGA-j5h4-3xgv-m5mm
- CGA-jq88-3292-f7x8
- CGA-jqrg-6w5c-p3jg
- CGA-m75m-hmjj-8wg4
- CGA-p72v-xhx8-h699
- CGA-v82w-858g-7wh8
References
- https://gist.github.com/whoamins/299745a2d36b482b44e9613b78e40613
- https://github.com/mrodrig/json-2-csv/blob/main/src/json2csv.ts%23L410
- https://github.com/mrodrig/json-2-csv/commit/0fdd0bb6d0273178cd940afc323ccbce19688229
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-17115116
- https://security.snyk.io/vuln/SNYK-JS-JSON2CSV-14221326