jquery-validation vulnerable to Cross-site Scripting
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | jquery-validation | < 1.20.0 | 1.20.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-3573
- https://github.com/jquery-validation/jquery-validation/pull/2462
- https://github.com/jquery-validation/jquery-validation/commit/7a490d8f39bd988027568ddcf51755e1f4688902
- https://github.com/jquery-validation/jquery-validation
- https://security.snyk.io/vuln/SNYK-JS-JQUERYVALIDATION-5952285
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- npm
- Package
jquery-validation- Disclosed
- 15.04.2025
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rrj2-ph5q-jxw2 - CC BY 4.0
Vulnerability history: jquery-validation
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 01.2021 04.2025
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 1
- Low 1
Disclosures per year
- 2021: 1
- 2022: 2
- 2023: 0
- 2024: 0
- 2025: 1
- 2026: 0
-
jquery-validation vulnerable to Cross-site Scripting this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.