ADVISORIES

Vulnerability

CVE-2012-6708

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.

11 advisories report this vulnerability, across 10 ecosystems.

Advisories

  • ALPINE-CVE-2012-6708

    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…

    CVE-2012-6708 Alpine Updated 18 November 2026
  • AZL-40951

    CVE-2012-6708 affecting package ceph for versions less than 18.2.2-1

    CVE-2012-6708 Azure Linux Updated 23 November 2026
  • AZL-43897

    CVE-2012-6708 affecting package python-httplib2 0.20.3-3

    CVE-2012-6708 Azure Linux Updated 21 April 2026
  • AZL-44730

    CVE-2012-6708 affecting package python-httplib2 0.20.3-3

    CVE-2012-6708 Azure Linux Updated 23 November 2026
  • AZL-44937

    CVE-2012-6708 affecting package python-blinker for versions less than 1.7.0-4

    CVE-2012-6708 Azure Linux Updated 21 April 2026
  • GHSA-2pqj-h3vj-pqgw

    Cross-Site Scripting in jquery

    Moderate CVE-2012-6708 MavenNuGetRubyGemsnpm Updated 8 March 2024
  • RHVEX-CVE-2012-6708

    js-jquery: XSS via improper selector detection

    Moderate CVE-2012-6708 Red Hat Updated 5 November 2026
  • SUSE-SU-2020:0737-1

    Recommended update for ruby2.5

    CVE-2012-6708CVE-2015-9251CVE-2019-15845CVE-2019-16201 SUSE Updated 2 May 2025
  • UBUNTU-CVE-2012-6708

    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…

    CVE-2012-6708 Ubuntu Updated 4 February 2026
  • USN-7622-1

    jquery vulnerabilities

    Known exploited CVE-2012-6708CVE-2019-11358CVE-2020-11022CVE-2020-11023 Ubuntu Updated 25 June 2026
  • openSUSE-SU-2020:0395-1

    Recommended update for ruby2.5

    CVE-2012-6708CVE-2015-9251CVE-2019-15845CVE-2019-16201 openSUSE Updated 4 February 2026

References