What’s Vulnerable › Vulnerabilities
CVE-2022-39217: Improper Neutralization of Formula Elements in a CSV File in ghas-to-csv
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-09-17 · updated 2026-06-17
- Weakness: CWE-74
Description
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.
Affected products
- some-natalie ghas-to-csv: before 1 — fixed in 1
How to fix
Upgrade to a fixed version: some-natalie ghas-to-csv 1. Check the vendor advisory for mitigations.
References
- https://github.com/some-natalie/ghas-to-csv/commit/d0b521928fa734513b5cd9c7d9d8e09db50e884a
- https://github.com/some-natalie/ghas-to-csv/security/advisories/GHSA-634p-93h9-92vh
- https://github.com/some-natalie/ghas-to-csv/commit/d0b521928fa734513b5cd9c7d9d8e09db50e884a
- https://github.com/some-natalie/ghas-to-csv/security/advisories/GHSA-634p-93h9-92vh
Get alerted when CVE-2022-39217 or the next vulnerability affects your stack