Microsoft · Ms Excel · CVE-2022-24770
**Name of the Vulnerable Software and Affected Versions**
gradio versions prior to 2.8.11
**Description**
The gradio library has a flagging functionality that saves input/output data into a CSV file on the developer's computer. This can allow a user to save arbitrary text into the CSV file, such as commands. If a program like MS Excel opens such a file, then it automatically runs these commands, which could lead to arbitrary commands running on the user's computer.
**Recommendations**
For versions prior to 2.8.11, avoid opening CSV files generated by gradio with Excel or similar spreadsheet programs.
Update to version 2.8.11 or later, which escapes the saved CSV with single quotes, to resolve the issue.