Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. json-2-csv
  4. ›
  5. CVE-2026-9673

CVE-2026-9673: json-2-csv vulnerable to CSV Injection via the preventCsvInjection optio

May 28, 2026 (updated July 1, 2026)

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.

References

  • gist.github.com/whoamins/299745a2d36b482b44e9613b78e40613
  • github.com/advisories/GHSA-g27c-q7cp-mhx6
  • github.com/mrodrig/json-2-csv/blob/main/src/json2csv.ts%23L410
  • github.com/mrodrig/json-2-csv/commit/0fdd0bb6d0273178cd940afc323ccbce19688229
  • nvd.nist.gov/vuln/detail/CVE-2026-9673
  • security.snyk.io/vuln/SNYK-JS-JSON2CSV-14221326

Code Behaviors & Features

Detect and mitigate CVE-2026-9673 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.15.0 before 5.5.11

Fixed versions

  • 5.5.11

Solution

Upgrade to version 5.5.11 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1236: Improper Neutralization of Formula Elements in a CSV File

Source file

npm/json-2-csv/CVE-2026-9673.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 13 Jul 2026 12:20:27 +0000.