Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
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 applicationsUpgrade json-2-csv to version 5.5.11 or higher.
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.
const { json2csv } = require('json-2-csv');
const data = [
{ name: 'Alice', value: '100' },
{ name: 'Bob', value: '200' },
{ name: 'Total', value: ' =SUM(B1:B2)' } // 3 spaces before =
];
const csv = json2csv(data, { preventCsvInjection: true });
console.log(csv);