CVE-2012-6662: XSS
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
nuget/jQuery.UI.Combinedto a version that resolves this vulnerability.Fixed in 1.10.0 - Upgrade
Upgrade
maven/org.webjars.npm:jquery-uito a version that resolves this vulnerability.Fixed in 1.10.0 - Upgrade
Upgrade
rubygems/jquery-ui-railsto a version that resolves this vulnerability.Fixed in 4.0.0 - Upgrade
Upgrade
npm/jquery-uito a version that resolves this vulnerability.Fixed in 1.10.0 - Upgrade
Upgrade
redhat/jQuery UIto a version that resolves this vulnerability.Fixed in 1.10.0 - Upgrade
Upgrade
debian/jqueryuito a version that resolves this vulnerability.Fixed in 1.10.1+dfsg-1 - Upgrade
Upgrade
debian/jqueryuito a version that resolves this vulnerability.Fixed in 1.13.2+dfsg-1Fixed in 1.14.2+dfsg-1 - Upgrade
Upgrade
jQuery UIto a version that resolves this vulnerability.Fixed in 1.10.0
Event History
Frequently Asked Questions
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.
How do I fix CVE-2012-6662?
To remediate CVE-2012-6662, upgrade to jQuery UI version 1.10.0 or later.
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.
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.
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.