Affected versions of jquery interpret text/javascript responses from cross-origin ajax requests, and automatically execute the contents in jQuery.globalEval, even when the ajax request doesn't contain the dataType option.
Update to version 3.0.0 or later.
{
"cwe_ids": [
"CWE-79"
],
"github_reviewed_at": "2020-06-16T21:55:10Z",
"severity": "MODERATE",
"nvd_published_at": "2018-01-18T23:29:00Z",
"github_reviewed": true
}