Single Quote Character Appears in Auth0 CSV Export Values
Last Updated:
Overview
When exporting users in CSV format, Auth0 adds a single quote character to the beginning of string values. Auth0 implements this expected behavior to mitigate CSV injection attacks. Auth0 adds the single quote to prevent malicious Excel formulas from executing when an administrator opens the file.
Applies To
- Auth0
- Bulk User Export
- CSV files
Cause
Auth0 adds the single quote character intentionally as a security measure against CSV injection attacks. If a malicious actor inputs an Excel formula as a string value, it could execute commands on the workstation of the administrator opening the CSV file. Prefixing the values with a single quote neutralizes the formula.
Solution
Why does Auth0 add the single quote character to CSV exports?
Auth0 enforces this expected behavior, and administrators cannot disable it. It ensures that spreadsheet applications treat any potentially malicious formulas that users enter as plain text rather than executable commands. Administrators must manually remove the quotes or use data cleaning tools if other processes require the raw string values.