CVE-2012-6662: XSS

Published Nov 20, 2014
·
Updated

Cross-site scripting (XSS) vulnerability in the default content option in jquery.ui.tooltip.js in the Tooltip widget in jQuery UI before 1.10.0 allows remote attackers to inject arbitrary web script or HTML via the title attribute, which is not properly handled in the autocomplete combo box demo.

Other sources

jQuery UI 1.10.0 release fixes XSS issue [1] in jQuery Tooltip widget. From [1]: ... WIDGETS Tooltip Fixed: XSS vulnerability in default content. (#8861, f285440) ...

The issue was initially reported in [2], and then actually fixed in [3] by commit [4].

[1]: http://jqueryui.com/changelog/1.10.0/ [2]: http://bugs.jqueryui.com/ticket/8859 [3]: http://bugs.jqueryui.com/ticket/8861 [4]: https://github.com/jquery/jquery-ui/commit/f2854408cce7e4b7fc6bf8676761904af9c96bde

-- Note: whiteboard lists quite some packages, which are known to have jQuery embedded.

— Red Hat

Affected Software

14 affected componentsFixes available
nuget/jquery.ui.combined<1.10.0
1.10.0
maven/org.webjars.npm:jquery-ui<1.10.0
1.10.0
rubygems/jquery-ui-rails<4.0.0
4.0.0
npm/jquery-ui<1.10.0
1.10.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
jqueryui Jquery Ui Jquery=1.10.0-rc1
redhat/jquery ui<1.10.0
1.10.0
debian/jqueryui<1.10.1+dfsg-1
1.10.1+dfsg-1
debian/jqueryui<1.10.1+dfsg-1
1.10.1+dfsg-1
debian/jqueryui<1.10.1+dfsg-1
1.10.1+dfsg-1
debian/jqueryui
1.13.2+dfsg-11.14.2+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade nuget/jQuery.UI.Combined to a version that resolves this vulnerability.

    Fixed in 1.10.0
  2. Upgrade

    Upgrade maven/org.webjars.npm:jquery-ui to a version that resolves this vulnerability.

    Fixed in 1.10.0
  3. Upgrade

    Upgrade rubygems/jquery-ui-rails to a version that resolves this vulnerability.

    Fixed in 4.0.0
  4. Upgrade

    Upgrade npm/jquery-ui to a version that resolves this vulnerability.

    Fixed in 1.10.0
  5. Upgrade

    Upgrade redhat/jQuery UI to a version that resolves this vulnerability.

    Fixed in 1.10.0
  6. Upgrade

    Upgrade debian/jqueryui to a version that resolves this vulnerability.

    Fixed in 1.10.1+dfsg-1
  7. Upgrade

    Upgrade debian/jqueryui to a version that resolves this vulnerability.

    Fixed in 1.13.2+dfsg-1Fixed in 1.14.2+dfsg-1
  8. Upgrade

    Upgrade jQuery UI to a version that resolves this vulnerability.

    Fixed in 1.10.0

Event History

Nov 20, 2014
Data Sourced
via Red Hat·11:06 AM
DescriptionSeverityAffected Software
Nov 24, 2014
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
04:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·04:59 PM
DescriptionAffected Software
Oct 24, 2017
Advisory Published
06:33 PM
Nov 9, 2023
Advisory Published
05:04 AM
Jun 16, 2026
Data Sourced
via NVD·11:48 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·11:48 PM
RemedyAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2012-6662?

CVE-2012-6662 has a medium severity rating due to its potential for cross-site scripting attacks.

2

How do I fix CVE-2012-6662?

To remediate CVE-2012-6662, upgrade to jQuery UI version 1.10.0 or later.

3

What causes the vulnerability in CVE-2012-6662?

The vulnerability in CVE-2012-6662 is caused by improper handling of the title attribute in the tooltip functionality of jQuery UI.

4

Which software is affected by CVE-2012-6662?

CVE-2012-6662 affects versions of jQuery UI prior to 1.10.0 and various packages such as jQuery.UI.Combined and jquery-ui-rails.

5

Is there a known exploit for CVE-2012-6662?

Yes, CVE-2012-6662 can be exploited by remote attackers injecting arbitrary web scripts through the title attribute.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203