CVE-2021-41182
XSS in the `altField` option of the Datepicker widget
6.5
MEDIUM
CVSS 3.1
EPSS 22.3%
Description
jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of the `altField` option of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. Any string value passed to the `altField` option is now treated as a CSS selector. A workaround is to not accept the value of the `altField` option from untrusted sources.
How to fix CVE-2021-41182
To remediate CVE-2021-41182, upgrade the affected package to a fixed version below.
- —upgrade to 7.86.0 or later
- —upgrade to 1.12.1+dfsg-8+deb11u1 or later
- —upgrade to 1.12.1+dfsg-5+deb10u1 or later
- —no fix listed
- —upgrade to 1.13.0 or later
- —upgrade to 1.13.0 or later
- —upgrade to 1.13.0 or later
- —upgrade to 7.0.0 or later
Is CVE-2021-41182 being exploited?
Moderate — EPSS is 22.3%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (8)
- >= 7.0.0, < 7.86.0
- from 0, < 1.12.1+dfsg-8+deb11u1
- from 0, < 1.12.1+dfsg-5+deb10u1
- from 0
- from 0, < 1.13.0
- from 0, < 1.13.0
- from 0, < 1.13.0
- from 0, < 7.0.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 |