First published: Tue Apr 15 2025(Updated: )
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.
Credit: report@snyk.io
Affected Software | Affected Version | How to fix |
---|---|---|
jQuery Validation | <1.20.0 | |
npm/jquery-validation | <1.20.0 | 1.20.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-3573 has a medium severity rating due to the potential for Cross-site Scripting (XSS) vulnerabilities.
To fix CVE-2025-3573, upgrade jquery-validation to version 1.20.0 or later.
The vulnerable function in CVE-2025-3573 is showLabel() which handles user-controlled placeholder values.
CVE-2025-3573 affects versions of jquery-validation prior to 1.20.0.
CVE-2025-3573 can allow attackers to execute arbitrary JavaScript in the context of a user's browser, leading to security breaches.