Back

MEDIUM

XSS in the `altField` option of the Datepicker widget

Published Oct 26, 2021

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

References (27)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner GitHub_M
Published Oct 26, 2021
Updated Feb 13, 2025
Reserved Sep 15, 2021
NVD
Status Modified
Modified Aug 25, 2026
Red Hat
Severity Moderate
Public date Oct 25, 2021
GHSA-9GJ3-HWP5-PMWC