This affects the package file-upload-with-preview before 4.2.0. A file containing malicious JavaScript code in the name can be uploaded (a user needs to be tricked into uploading such a file).
{
"github_reviewed_at": "2021-09-07T18:05:06Z",
"github_reviewed": true,
"severity": "MODERATE",
"nvd_published_at": "2021-09-05T14:15:00Z",
"cwe_ids": [
"CWE-79"
]
}