{"id":"GHSA-7rq4-qcpw-74gq","aliases":["GHSA-7rq4-qcpw-74gq"],"related":[],"kind":"vulnerability","state":"published","title":"Formula Injection in Exported Data","summary":"### Impact\n\nDatasets exported to file (e.g. CSV / XLS) are not sufficiently sanitized, to neutralize potential formula injection\n\n### Patches\n\n- The issue is addressed in the upcoming 0.8.0 release\n- This fix will also be back-ported to the 0.7.x branch, applied to the 0.7.2 release\n\n### Workarounds\n\nUsers exporting untrusted data should open the files in safe mode (e.g. in Microsoft Excel).\n\n### References\n\n- https://huntr.dev/bounties/e57c36e7-fa39-435f-944a-3a52ee066f73/\n- https://owasp.org/www-community/attacks/CSV_Injection\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [github](http://github.com/inventree/inventree)\n* Email us at [security@inventree.org](mailto:security@inventree.org)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\n\nDatasets exported to file (e.g. CSV / XLS) are not sufficiently sanitized, to neutralize potential formula injection\n\n### Patches\n\n- The issue is addressed in the upcoming 0.8.0 release\n- This fix will also be back-ported to the 0.7.x branch, applied to the 0.7.2 release\n\n### Workarounds\n\nUsers exporting untrusted data should open the files in safe mode (e.g. in Microsoft Excel).\n\n### References\n\n- https://huntr.dev/bounties/e57c36e7-fa39-435f-944a-3a52ee066f73/\n- https://owasp.org/www-community/attacks/CSV_Injection\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [github](http://github.com/inventree/inventree)\n* Email us at [security@inventree.org](mailto:security@inventree.org)","format":"markdown","source":"ghsa"}],"published":"2022-06-17T01:17:22.000Z","modified":"2024-12-08T05:27:25.214Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.7.2"}],"ecosystem":"PyPI","package":"inventree","purl":"pkg:pypi/inventree","source":"ghsa"}],"references":[{"url":"https://github.com/inventree/InvenTree/security/advisories/GHSA-7rq4-qcpw-74gq","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/inventree/inventree-python","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7rq4-qcpw-74gq","url":"https://github.com/advisories/GHSA-7rq4-qcpw-74gq","licence":"CC-BY-4.0","modified":"2024-12-08T05:27:25.214Z"}],"updatedAt":"2026-11-25T22:56:34.512Z"}