CVE-2012-6708
Published: 18 January 2018
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.
Notes
Author | Note |
---|---|
leosilva | code seems to be quite different. |
mdeslaur | fix is intrusive and backwards-incompatible |
Priority
Status
Package | Release | Status |
---|---|---|
jquery Launchpad, Ubuntu, Debian |
artful |
Not vulnerable
(3.1.1-2)
|
bionic |
Not vulnerable
|
|
cosmic |
Not vulnerable
|
|
disco |
Not vulnerable
|
|
eoan |
Not vulnerable
|
|
focal |
Not vulnerable
|
|
groovy |
Does not exist
|
|
hirsute |
Does not exist
|
|
impish |
Does not exist
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
lunar |
Does not exist
|
|
mantic |
Does not exist
|
|
trusty |
Needed
|
|
upstream |
Released
(1.11.3+dfsg-1)
|
|
xenial |
Not vulnerable
(1.11.3+dfsg-4)
|
|
Patches: upstream: https://github.com/jquery/jquery/commit/05531fc4080ae24070930d15ae0cea7ae056457d |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 6.1 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Changed |
Confidentiality | Low |
Integrity impact | Low |
Availability impact | None |
Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |