-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[data grid] Sanitize cells with formulas for CSV export used in Excel #11702
Comments
We could do this along with introducing a value getter/serializer which would also allow the users to customize the exported values on top of sanitization. |
There seem to be a couple of opportunities to improve the CSV export features. I tried to rank these:
So for instance https://www.ag-grid.com/react-data-grid/csv-export/#security-concerns not being opt-in feels borderline. Should this be opt-out? https://bughunters.google.com/learn/invalid-reports/google-products/4965108570390528/csv-formula-injection suggests that it shouldn't. CSV has other applications, we might not be able to make an escaping logic that doesn't break some other types of applications. I wouldn't be against trying, just don't know if it would work. The root problem is really Excel. I can't find anyone who makes this opt-out and it's rare to even find CSV libraries who have an option for it, e.g. FasterXML/jackson-dataformats-text#326 (comment), but then this is very strange UX to me: Screen.Recording.2024-01-16.at.20.56.06.mov
|
Good morning, We have a dozen applications with a total of about fifty DataGridPremium instances, some of them have a lot of columns. An opt-in/opt-out solution with a flag on the DataGridPremium component and/or single column would be ideal. Thank you. Mauro Premium subscription Order ID: 47709 |
Hi Mauro, |
@cherniavskii: How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Summary
https://groups.google.com/u/0/a/mui.com/g/security/c/L5bFSD3uwF8
Examples
No response
Motivation
No response
Search keywords: csv excel
The text was updated successfully, but these errors were encountered: