Background: jQuery is the core library. jQueryUI is built on top of it. If you use jQueryUI, you must also include jQuery. The plugins and utilities in jQuery UI are divided into four categories—widgets, interactions, effects, and utilities.
The plugins and utilities in jQuery UI are divided into four categories: widgets, interactions, effects, and utilities
- Uncompressed files are located in the development-bundle directory, under the jQuery UI installation directory (jqueryui).
- The themes directory (located under development-bundle) contains the CSS files. It consists of various directories, each containing themes (e.g., the base, smoothness, and ui-lightness directories). Each theme includes an images directory and other CSS files.
Vulnerability details: jQuery UI versions prior to 1.13.2 are potentially vulnerable to cross-site scripting. Initializing a checkboxradio widget on an input enclosed within a label makes that parent label contents considered as the input label. Calling
.checkboxradio( "refresh" ) on such a widget and the initial HTML contained encoded HTML entities will make them erroneously get decoded.
Solution: The bug has been patched in jQuery UI 1.13.2.
Workaround: To remediate the issue, someone who can change the initial HTML can wrap all the non-input contents of the
label in a
Official announcement: Please refer to the link – https://github.com/jquery/jquery-ui/security/advisories/GHSA-h6gj-6jjq-h8g9