CVE Tools

CVE-2010-5312

Published: Nov 24, 2014Updated: May 6, 2026 Sources: CVE List NVD GHSACWE-79

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.

In plain language

AI Worth attention

This is a jQuery UI dialog bug (before 1.10.0) that lets a malicious website put its own script into a dialog’s title, so typical small businesses should update if they use jQuery UI Dialog with an unsafely set title.

Executive summary

Cross-site scripting (CWE-79) in the jQuery UI Dialog widget (jquery.ui.dialog.js) before 1.10.0 allows remote attackers to inject and execute arbitrary HTML/script in a user’s browser via the Dialog widget’s unsanitized `title` option when a user visits a malicious page and uses the dialog with a crafted title.

If affected, business impact
Account/session hijacking riskWebsite defacement or popup attacksCustomer data exposureMalicious actions as the user

What to do now

  1. Check whether your site or app uses the jQuery UI Dialog widget and whether the dialog title is built from user-controlled or external content (for example, query strings, form fields, or messages).
  2. Identify your exact jQuery UI version in your front-end bundle or dependency (e.g., jquery-ui, jquery.ui.combined, or the equivalent package you ship).
  3. Upgrade to a fixed version: jQuery UI 1.10.0 (jquery-ui, org.webjars.npm:jquery-ui, jquery.ui.combined, jquery ui) or jquery-ui-rails 4.0.0 where applicable.
  4. After upgrading, test dialogs specifically by passing HTML-like characters into any title inputs you control, and confirm the title renders as plain text (not executable HTML).
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:RS:CC:LI:LA:N
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:RUser Interaction
Required
Scope
S:CScope
Changed
Impact
C:LConfidentiality
Low
I:LIntegrity
Low
A:NAvailability
None

Weaknesses

Affected Products

and 5 more affected products View all →

Exploitability

2 exploit sources identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

2 techniques
Execution
Initial Access
View detailed technique mapping

References

and 29 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2010-5312 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows