Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jquery
  4. ›
  5. GMS-2017-122

GMS-2017-122: XSS

March 21, 2017

When text/javascript responses are received from cross-origin ajax requests not containing the option dataType, the result is executed in jQuery.globalEval potentially allowing an attacker to execute arbitrary code on the origin.

Code Behaviors & Features

Detect and mitigate GMS-2017-122 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.0, all versions after 1.12.2 before 3.0.0-beta1

Fixed versions

  • 1.12.0
  • 3.0.0

Solution

Upgrade to v3.0.0 or greater.

Source file

npm/jquery/GMS-2017-122.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:06 +0000.