Description
Versions of the package jquery-validation before 1.20.0 are vulnerable to Cross-site Scripting (XSS) in the showLabel() function, which may take input from a user-controlled placeholder value. This value will populate a message via $.validator.messages in a user localizable dictionary.
Recommendation
Update the jquery-validation package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.20.0
- Patched version(s): 1.20.0
References
Related Issues
- jQuery-UI vulnerable to Cross-site Scripting in dialog closeText - CVE-2016-7103
- Nuxt DevTools vulnerable to cross-site scripting (XSS) - CVE-2025-52662
- @claviska/jquery-minicolors vulnerable to Cross-site Scripting - CVE-2021-32850
- @dependencytrack/frontend vulnerable to Persistent Cross-Site-Scripting via welcome message - CVE-2025-64758
You might also like:
- Tags:
- npm
- jquery-validation
Anything's wrong? Let us know Last updated on April 15, 2025


