json-2-csv@0.1.0 vulnerabilities

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

  • latest version

    5.5.7

  • latest non vulnerable version

  • first published

    10 years ago

  • latest version published

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

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    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 prefixing cells with \t, \r, =, +, - or @ which are all interpreted as special characters for this package. An attacker could leverage this to cause a vulnerable application to execute malicious behaviours when consuming such a crafted CSV file.

    How to fix CSV Injection?

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

    <3.15.0