CVE-2021-41182

XSS in the `altField` option of the Datepicker widget

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.


We have discovered 1,617,003 live websites that are affected by CVE-2021-41182.

Test my site




Affected Software

Product  jQuery UI
Category JavaScript Libraries
Vulnerable Domains1,617,003 live websites (32.85% of jQuery UI install base)
Vulnerable Versions
  • from 0 before 1.13
Vulnerable Versions Count96 versions ( 82.76% of all versions)


Common Weakness Enumeration

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')



Details

  • Published - Oct 26, 2021
  • Updated - Feb 13, 2025

CVE-2021-41182 usage by Country

United States525,871 websites



Germany160,206 websites
France111,179 websites
Russia81,521 websites
GB52,896 websites
Japan52,125 websites
Netherlands45,007 websites
Poland39,916 websites
Italy39,147 websites
Czech Republic32,799 websites

CVE-2021-41182 usage by TLD

.com637,849 websites
.de84,288 websites
.ru69,731 websites
.org63,329 websites
.net43,599 websites
.fr41,688 websites
.nl39,385 websites
.co.uk38,866 websites
.it34,147 websites
.pl33,861 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2021-41182

Top websites that are affected by CVE-2021-41182. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
********.****.br Brazil**
***********.com United States***
******.com United States***
*************.com United States***
**.com Singapore***
********.com United States***
****.*********.com United States***
*****.**.uk GB*,***
*******.com United States*,***
***.*********.com Singapore*,***
See full domain list

FAQ

CVE-2021-41182 is Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in jQuery UI
A total of 1,617,003 websites have been identified as vulnerable to CVE-2021-41182, discovered through global website indexing conducted by WebTechSurvey.
jQuery UI is susceptible to CVE-2021-41182 vulnerability.
jQuery UI versions before 1.13 are vulnerable to CVE-2021-41182.
Version 1.13 of jQuery UI addresses the CVE-2021-41182 security vulnerability.

References