CVE-2021-41184: XSS in the `of` option of the `.position()` util
CVE-2021-41184 affects 4 listed versions of Drupal in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Drupal
4 of 250 listed versions are affected. Fixed in 9.2.11. The newest release, 11.4.14, is not affected.
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD)
Published by GitHub on 26 October 2021. Last changed 2 November 2026.
Sources
Check one version you run: look CVE-2021-41184 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.