UBUNTU-CVE-2012-6708

Source
https://ubuntu.com/security/CVE-2012-6708
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2012/UBUNTU-CVE-2012-6708.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2012-6708
Related
Published
2018-01-18T23:29:00Z
Modified
2024-10-15T14:05:46Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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

Affected packages

Ubuntu:Pro:14.04:LTS / jquery

Package

Name
jquery
Purl
pkg:deb/ubuntu/jquery?arch=src?distro=trusty/esm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.2+dfsg-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "low"
}

Ubuntu:16.04:LTS / jquery

Package

Name
jquery
Purl
pkg:deb/ubuntu/jquery?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.11.3+dfsg-4

Affected versions

1.*

1.7.2+dfsg-3ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "low",
    "binaries": [
        {
            "binary_version": "1.11.3+dfsg-4",
            "binary_name": "libjs-jquery"
        }
    ]
}