Add file path traversal validation. Related to https://gitlab.com/gitlab-org/gitlab/-/issues/235493.
Attach a file by drag & drop or click to upload