json-2-csv@5.5.8

A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.

  • latest version

    5.6.0

  • latest non vulnerable version

  • first published

    12 years ago

  • latest version published

    20 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the json-2-csv package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    CSV Injection

    json-2-csv is an A JSON to CSV and CSV to JSON converter that natively supports sub-documents and auto-generates the CSV heading.

    Affected versions of this package 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.

    How to fix CSV Injection?

    Upgrade json-2-csv to version 5.5.11 or higher.

    >=3.15.0 <5.5.11