CVE-2021-41183
XSS in `*Text` options of the Datepicker widget in jquery-ui
6.5
MEDIUM
CVSS 3.1
EPSS 3.1%
Description
jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. The issue is fixed in jQuery UI 1.13.0. The values passed to various `*Text` options are now always treated as pure text, not HTML. A workaround is to not accept the value of the `*Text` options from untrusted sources.
How to fix CVE-2021-41183
To remediate CVE-2021-41183, 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
- —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-41183 being exploited?
Low — EPSS is 3.1%, meaning exploitation activity has not been observed at scale.
Affected packages (7)
- >= 7.0.0, < 7.86.0, >= 9.2.0, < 9.2.11, >= 9.3.0, < 9.3.3
- from 0, < 1.12.1+dfsg-8+deb11u1
- 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 |