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

GMS-2017-121: XSS via improper selector detection

March 21, 2017

jQuery’s main method in affected versions contains an unreliable way of detecting whether the input to the jQuery(strInput) function is intended to be a selector or HTML.

References

  • bugs.jquery.com/ticket/11290

Code Behaviors & Features

Detect and mitigate GMS-2017-121 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 starting from 1.7.1 up to 1.8.3

Fixed versions

  • 1.9.1

Solution

Upgrade to v1.9.0 or greater.

Source file

npm/jquery/GMS-2017-121.yml

Spotted a mistake? Edit the file on GitLab.

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

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