# GHSA-7rq4-qcpw-74gq: Formula Injection in Exported Data

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-06-17T01:17:22.000Z
- Modified: 2024-12-08T05:27:25.214Z

## Description

### Impact

Datasets exported to file (e.g. CSV / XLS) are not sufficiently sanitized, to neutralize potential formula injection

### Patches

- The issue is addressed in the upcoming 0.8.0 release
- This fix will also be back-ported to the 0.7.x branch, applied to the 0.7.2 release

### Workarounds

Users exporting untrusted data should open the files in safe mode (e.g. in Microsoft Excel).

### References

- https://huntr.dev/bounties/e57c36e7-fa39-435f-944a-3a52ee066f73/
- https://owasp.org/www-community/attacks/CSV_Injection

### For more information

If you have any questions or comments about this advisory:

* Open an issue in [github](http://github.com/inventree/inventree)
* Email us at [security@inventree.org](mailto:security@inventree.org)

(As written by GitHub Advisory Database.)

## Affected

- inventree (PyPI): before 0.7.2

## References

- <https://github.com/inventree/InvenTree/security/advisories/GHSA-7rq4-qcpw-74gq> (web)
- <https://github.com/inventree/inventree-python> (web)

## Sources

- GitHub Advisory Database: [GHSA-7rq4-qcpw-74gq](https://github.com/advisories/GHSA-7rq4-qcpw-74gq), CC-BY-4.0, modified 2024-12-08

---

Page: https://cve.day/GHSA-7rq4-qcpw-74gq · Whole record: https://cve.day/GHSA-7rq4-qcpw-74gq.json · Rebuilt by cve.day 2026-11-25T22:56:34.512Z
