CSV / Formula Injection

Intermediate

An app lets users set a display name, then admins export the user list to CSV. If a name starts with =, +, -, or @, Excel and Google Sheets run it as a formula — turning a harmless export into code execution.

Your objective. You control one field: your display name. Get code to execute on the admin's machine when they export the user list — then make the same payload harmless.

  1. Inject a Formula
  2. Neutralize the Export
Edit profile — display name
Export defense
users-export.csv

Export a profile to generate the CSV…

Challenges

Spreadsheet apps treat any cell beginning with = + - @ as a formula, not text.

Frequently Asked Questions