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
- @tiptap/extension-link vulnerable to Cross-site Scripting (XSS) - CVE-2025-14284
- jQuery-UI vulnerable to Cross-site Scripting in dialog closeText - CVE-2016-7103
- svelte vulnerable to Cross-site Scripting - CVE-2025-15265
- jsondiffpatch is vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin - CVE-2025-9910
- Tags:
- npm
- jquery-validation
Anything's wrong? Let us know Last updated on April 15, 2025