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


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.64% (80th percentile)

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 Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN10-JQUERY-290104
  • published18 Jan 2018
  • disclosed18 Jan 2018

Introduced: 18 Jan 2018

CVE-2012-6708  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Debian:10 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:10 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

CVSS Scores

version 3.1