4 matches found
Prototype Pollution
node-csv is vulnerable to Prototype Pollution. The vulnerability is due to improper handling of duplicate proto CSV headers when columns and groupcolumnsbyname are enabled, which allows an attacker to inject an attacker-controlled array into the parsed record's prototype and manipulate inherited...
GHSA-8CW4-87C7-C6XX node-csv: Prototype replacement still reachable via columns path
Impact With columns: true and groupcolumnsbyname: true, a duplicated proto header causes the duplicate-column branch to assign an array to obj'proto', invoking the proto setter and replacing the parsed record object's prototype with attacker-controlled data. Fixed in 7.0.2 Object.hasOwn duplicate...
node-csv: Prototype replacement still reachable via columns path
Impact With columns: true and groupcolumnsbyname: true, a duplicated proto header causes the duplicate-column branch to assign an array to obj'proto', invoking the proto setter and replacing the parsed record object's prototype with attacker-controlled data. Fixed in 7.0.2 Object.hasOwn duplicate...
CVE-2026-85063
node-csv (csv-parse) versions prior to 7.0.2 are vulnerable to a prototype replacement issue when the columns and group_columns_by_name options are enabled. In packages/csv-parse/lib/api/index.js, a duplicate __proto__ header in a CSV file is treated as an existing property, allowing an attacker-...