CVE-2010-5312 Cross-site Scripting in jquery-ui
Remote attackers can inject arbitrary web script or HTML via the title option in the jQuery UI Dialog widget, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2010-5312?
CVE-2010-5312 is a medium-severity cross-site scripting vulnerability in Debian Debian Linux, published on 24 Nov 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in jquery.ui.dialog.js in the Dialog widget in jQuery UI before 1.10.0 allows remote attackers to inject arbitrary web script or HTML via the title option.
Weakness: CWE-79
Which versions are affected by CVE-2010-5312?
8 open source packages ship an affected version, including org.webjars.npm:jquery-ui, jQuery.UI.Combined and jquery-ui-rails. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
org.webjars.npm:jquery-ui Maven | From 1.7.0 | 1.10.0 |
org.webjars.npm:jquery-ui Maven | From 1.7.0 | 1.10.0 |
jQuery.UI.Combined NuGet | From 1.7.0 | 1.10.0 |
jQuery.UI.Combined NuGet | From 1.7.0 | 1.10.0 |
jquery-ui-rails RubyGems | All versions | 4.0.0 |
jquery-ui-rails RubyGems | All versions | 4.0.0 |
2 more packages
jquery-ui npm | From 1.7.0 | 1.10.0 |
jquery-ui npm | From 1.7.0 | 1.10.0 |
Products include Apache Drill, Debian Debian Linux, Drupal Drupal, Fedoraproject Fedora, Jqueryui Jquery Ui, Netapp Snapcenter.
How do I fix CVE-2010-5312?
Upgrade org.webjars.npm:jquery-ui to 1.10.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2010-5312 being exploited?
There is no known exploitation of CVE-2010-5312 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as CLEANSTART-2024-FV11333, DEBIAN-CVE-2010-5312, DLA-258-1, DSA-3249-1, GHSA-wcm2-9c89-wmfm, MGASA-2014-0559.