medium6.1
CVE-2025-3573
jquery-validation vulnerable to Cross-site Scripting
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | jquery-validation | < 1.20.0 | 1.20.0 |
Affected products
| Product | Affected versions |
|---|---|
| Package Jquery-Validation | before 1.20.0 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/jquery-validation/jquery-validation/commit/7a490d8f39bd988027568ddcf51755e1f4688902
- https://github.com/jquery-validation/jquery-validation/pull/2462
- https://security.snyk.io/vuln/SNYK-JS-JQUERYVALIDATION-5952285
- https://github.com/advisories/GHSA-rrj2-ph5q-jxw2
- https://nvd.nist.gov/vuln/detail/CVE-2025-3573