Cross-site scripting in jQuery UI - CVE-2012-6662

 

Cross-site scripting in jQuery UI - CVE-2012-6662

Published: November 24, 2014 / Updated: November 20, 2021


Vulnerability identifier: #VU7278
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: CVE-2012-6662
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

Vulnerability allows a remote attacker to perform Cross-site scripting attacks.

An input validation error exists in the default content option in jquery.ui.tooltip.js in the Tooltip widget in jQuery UI before 1.10.0 when processing title attribute, which is not properly handled in the autocomplete combo box demo. A remote attacker can trick the victim to follow a specially specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

jQuery UI
Fedora
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Scientific Computing
Red Hat Enterprise Linux EUS Compute Node
drupal6
drupal7

How to mitigate CVE-2012-6662

Update to version 1.10.0.

jQuery UI - update to 1.10.0
drupal6 - addressed in versions 6.34-1.el5, 6.34-1.el6, 6.34-1.fc21
drupal7 - update to 7.34-1.fc21

External References

Related Security Bulletins