CVE-2021-41184
XSS in the `of` option of the `.position()` util
6.5
MEDIUM
CVSS 3.1
EPSS 44.5%
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.
How to fix CVE-2021-41184
To remediate CVE-2021-41184, upgrade the affected package to a fixed version below.
- —upgrade to 1.13.0 or later
- —upgrade to 1.13.0 or later
- —upgrade to 7.0.0 or later
- —upgrade to 1.13.0 or later
Is CVE-2021-41184 being exploited?
Moderate — EPSS is 44.5%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (4)
- from 0, < 1.13.0
- from 0, < 1.13.0
- from 0, < 7.0.0
- from 0, < 1.13.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |