{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2022-02-25T18:15:47",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://haygeek.com"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "http://jquery-upload-file.com"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2021-37504",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "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."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js",
                            "refsource": "MISC",
                            "url": "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"
                        },
                        {
                            "name": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js",
                            "refsource": "MISC",
                            "url": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js"
                        },
                        {
                            "name": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css",
                            "refsource": "MISC",
                            "url": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css"
                        },
                        {
                            "name": "http://haygeek.com",
                            "refsource": "MISC",
                            "url": "http://haygeek.com"
                        },
                        {
                            "name": "http://jquery-upload-file.com",
                            "refsource": "MISC",
                            "url": "http://jquery-upload-file.com"
                        },
                        {
                            "name": "https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469",
                            "refsource": "MISC",
                            "url": "https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469"
                        },
                        {
                            "name": "https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js",
                            "refsource": "MISC",
                            "url": "https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T01:22:59.369Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/jquery.uploadfile.min.js"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://haygeek.com"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "http://jquery-upload-file.com"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/hayageek/jquery-upload-file/blob/master/js/jquery.uploadfile.js#L469"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://raw.githubusercontent.com/hayageek/jquery-upload-file/master/js/jquery.uploadfile.js"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2021-37504",
        "datePublished": "2022-02-25T18:15:47",
        "dateReserved": "2021-07-26T00:00:00",
        "dateUpdated": "2024-08-04T01:22:59.369Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}