0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 00:15:24 +08:00
discourse/spec/fixtures/csv
Natalie Tay 47728575f8
FIX: Allowlist CSV columns in bulk invite upload (#38231)
The `upload_csv` endpoint accepted user-controlled CSV headers without
validation, allowing arbitrary keys into the invite hashes passed to the
BulkInvite job.

Restrict accepted columns to the ones already handled in BulkInvite (
basically, `email`, `groups`, `topic_id`, `locale`) plus valid UserField
names.
2026-03-09 16:06:09 +08:00
..
discourse.csv
discourse_headers.csv
invite_malicious_headers.csv
invite_valid_and_invalid_headers.csv
invites_with_locales.csv
s3_inventory.csv
tags.csv
tags_invalid.csv
user_emails.csv
usernames.csv
usernames_with_nil_values.csv
words.csv
words_case_sensitive.csv
words_tag.csv