Cross-site Scripting (XSS) Affecting jquery package, versions <1.11.3+dfsg-1


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required
    Scope Changed

    Threat Intelligence

    Exploit Maturity Mature
    EPSS 0.82% (82nd percentile)
Expand this section
NVD
6.1 medium
Expand this section
SUSE
6.8 medium
Expand this section
Red Hat
6.8 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-DEBIAN9-JQUERY-290103
  • published 18 Jan 2018
  • disclosed 18 Jan 2018

How to fix?

Upgrade Debian:9 jquery to version 1.11.3+dfsg-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream jquery package and not the jquery package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

jQuery before 1.9.0 is vulnerable to Cross-site Scripting (XSS) attacks. The jQuery(strInput) function does not differentiate selectors from HTML in a reliable fashion. In vulnerable versions, jQuery determined whether the input was HTML by looking for the '<' character anywhere in the string, giving attackers more flexibility when attempting to construct a malicious payload. In fixed versions, jQuery only deems the input to be HTML if it explicitly starts with the '<' character, limiting exploitability only to attackers who can control the beginning of a string, which is far less common.

References