Skip to content
CVE PROGRAM SOURCE RECORD6.5 Medium

CVE-2021-41184

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

jquery jquery-ui

  • < 1.13.0affected

References