jQuery-Upload-File XSS in fileNameStr
Date: 2022-02
Affected: npm/jquery-file-upload
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2021-37504
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

A cross-site scripting (XSS) vulnerability in the fileNameStr parameter of jQuery-Upload-File v4.0.11 allows attackers to execute arbitrary web scripts or HTML via a crafted file with a Javascript payload in the file name.


Mitigations:

Architectural layers (MAESTRO):