CVE-2022-39217
CRITICAL 9.8CVSS 3.1ghas-to-csv vulnerable to Improper Neutralization of Formula Elements in a CSV File
some-natalie/ghas-to-csv (GitHub Advanced Security to CSV) is a GitHub action which scrapes the GitHub Advanced Security API and shoves it into a CSV. In affected versions this GitHub Action creates a CSV file without sanitizing the output of the APIs. If an alert is dismissed or any other custom field contains executable code / formulas, it might be run when an endpoint opens that CSV file in a spreadsheet program. This issue has been addressed in version v1. Users are advised to use v1 or later. There are no known workarounds for this issue.
- Published
- 17 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1236CWE-74
- Also known as
- GHSA-634p-93h9-92vh
- Sources
- NVDJSONOSV GHSA-634p-93h9-92vhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.8 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ghas-to-csv_project | ghas-to-csvcpe:2.3:a:ghas-to-csv_project:ghas-to-csv:*:*:*:*:*:*:*:* |
< 1 | 1 |
| OSV | GitHub Actions | some-natalie/ghas-to-csv | < 1 | 1 |
References
- https://github.com/some-natalie/ghas-to-csv/commit/d0b521928fa734513b5cd9c7d9d8e09db50e884a · Patch, Third Party Advisory, WEB
- https://github.com/some-natalie/ghas-to-csv/security/advisories/GHSA-634p-93h9-92vh · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39217 · ADVISORY
- https://github.com/some-natalie/ghas-to-csv/issues/19 · WEB
- https://github.com/some-natalie/ghas-to-csv/pull/20 · WEB
- https://github.com/some-natalie/ghas-to-csv · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 17 Sep 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Sep 2022)