CSV Injection Affecting org.webjars.npm:json-2-csv package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGWEBJARSNPM-5862673
  • published9 Dec 2021
  • disclosed26 Nov 2021
  • creditUnknown

Introduced: 26 Nov 2021

CVE NOT AVAILABLE CWE-1236  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

org.webjars.npm: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.

CVSS Base Scores

version 3.1