CVE-2021-41184

published 26 Oct 2021 · updated 2 Nov 2026

XSS in the `of` option of the `.position()` util

7.0HighCVSS 6.5EPSS 41%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 41%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
JQueryJQuery<1.13.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in JQuery, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-41184 severity on Zeptric[![CVE-2021-41184](https://zeptric.io/badge/cve/CVE-2021-41184.svg)](https://zeptric.io/cve/CVE-2021-41184)