GHSA-8cw4-87c7-c6xx

Suggest an improvement
Source
https://github.com/advisories/GHSA-8cw4-87c7-c6xx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8cw4-87c7-c6xx/GHSA-8cw4-87c7-c6xx.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-8cw4-87c7-c6xx
Aliases
Downstream
CGA (17)
MINI (3)
Published
2026-09-08T18:01:39Z
Modified
2026-09-08T18:15:04Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N CVSS Calculator
Summary
node-csv: Prototype replacement still reachable via columns path
Details

Impact

With columns: true and group_columns_by_name: 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 check + Object.defineProperty assignment).

Patches

The problem been patched.

Workarounds

Disable usage of both the columns and group_columns_by_name options.

References

issue #496, PR #497

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-09-08T18:01:39Z",
    "nvd_published_at":  "2026-09-03T21:17:23Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / csv-parse

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
7.0.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8cw4-87c7-c6xx/GHSA-8cw4-87c7-c6xx.json"