Advisory

GHSA-g27c-q7cp-mhx6

Also known as: CVE-2026-9673

Summary

json-2-csv vulnerable to CSV Injection via the preventCsvInjection optio

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-28 06:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

json-2-csv

npm · All systems

Affected

  • introduced 3.15.0, fixed 5.5.11 (semver)

Fixed versions

5.5.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences