Description
jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `of` option of the `.position()` util from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `of` option is now treated as a CSS selector. A workaround is to not accept the value of the `of` option from untrusted sources.
Remediation
References
Related Vulnerabilities
Squid Other Vulnerability (CVE-2024-25617)
MyBB Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2016-9411)
XWiki Exposure of Resource to Wrong Sphere Vulnerability (CVE-2023-29208)
Magento Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2019-7871)