CVE-2021-41182 MEDIUM

CVE-2021-41182: XSS in the `altField` option of the Datepicker widget

Vendor Jquery
Product jquery-ui
Weakness CWE-79 · XSS
Published October 26, 2021
Last update February 13, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality None
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

October 26, 2021 CVE published
February 13, 2025 Record updated

Related vulnerabilities

04Related CVE