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 attentionThis 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.
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.
What to do now
- Check whether your site or app uses the jQuery UI Dialog widget and whether the dialog
titleis built from user-controlled or external content (for example, query strings, form fields, or messages). - 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).
- 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.
- 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).
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:RUser InteractionS:CScopeC:LConfidentialityI:LIntegrityA:NAvailabilityWeaknesses
Affected Products
Exploitability
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit detailsAttack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
2 techniquesReferences
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