Description
Initializing a checkboxradio widget on an input enclosed within a label makes that parent label contents considered as the input label. If you call .checkboxradio( "refresh" ) on such a widget and the initial HTML contained encoded HTML entities, they will erroneously get decoded. This can lead to potentially executing JavaScript code.
Recommendation
Update the jquery-ui package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.13.2
- Patched version(s): 1.13.2
References
Could your website be exposed too?
SmartScanner can check your website for jQuery UI vulnerable to XSS when refreshing a checkboxradio with an HTML-like initial text label and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Svelte vulnerable to XSS when using objects during server-side rendering - CVE-2022-25875
- jquery-ui Tooltip widget vulnerable to XSS - CVE-2012-6662
- XSS in `*Text` options of the Datepicker widget in jquery-ui - CVE-2021-41183
- Open WebUI vulnerable to Stored DOM XSS via prompts when 'Insert Prompt as Rich Text' is enabled resulting in ATO/RCE - CVE-2025-64495


