# CVE-2022-39217: Improper Neutralization of Formula Elements in a CSV File in ghas-to-csv

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 49% of CVEs (2026-11-30)
- Published: 2022-09-16T22:06:55.000Z
- Modified: 2026-06-17T04:57:56.183Z
- Also known as: GHSA-634p-93h9-92vh
- Weaknesses: CWE-74, CWE-1236
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- some-natalie ghas-to-csv: < v1
- some-natalie/ghas-to-csv (GitHub Actions): before 1
- ghas-to-csv_project ghas-to-csv: before 1

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/some-natalie/ghas-to-csv/security/advisories/GHSA-634p-93h9-92vh> (patch, third-party-advisory, web)
- <https://github.com/some-natalie/ghas-to-csv/commit/d0b521928fa734513b5cd9c7d9d8e09db50e884a> (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)

## Sources

- CVE List: [CVE-2022-39217](https://www.cve.org/CVERecord?id=CVE-2022-39217), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-634p-93h9-92vh](https://github.com/advisories/GHSA-634p-93h9-92vh), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-39217](https://nvd.nist.gov/vuln/detail/CVE-2022-39217), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39217 · Whole record: https://cve.day/CVE-2022-39217.json · Rebuilt by cve.day 2026-11-25T22:58:15.088Z
