jQuery Validation vulnerabilitiesjQuery Validation: known vulnerabilities and safe versions
npm: jquery-validation
jQuery Validation has 5 known vulnerability records: 4 in the npm advisory data (GitHub Advisory Database via OSV, the same source npm audit uses) and 1 only in Retire.js (CDN builds and advisories without a CVE).
By branch: 1.x is safe from 1.20.0.
Vulnerabilities and safe version by branch
Safe version: on that branch, this release and every later one (up to the branch's latest release, where known) fall outside every known record's range. Candidates are only the records' own fixed versions and the branch's latest release; "No fix" means moving off the branch.
| Branch | Support | Latest on branch | Records | Safe version |
|---|---|---|---|---|
| 1.x | — | — | 5high | 1.20.0 |
Support dates appear only for libraries that endoflife.date tracks.
Records
Newest first. Ranges are the record's own data; several ranges mean separate fixes per branch.
CVE-2025-35732025-04-15
Versions of the package jquery-validation before 1.20.0 are vulnerable to Cross-site Scripting (XSS) in the showLabel() function, which may
Affected versions: < 1.20.0
medium 5.3
Fixed in: 1.20.0
CVE-2022-31147exploit code exists2022-07-14
jquery-validation ReDoS in url2 due to incomplete fix of CVE-2021-43306
Affected versions: < 1.19.5
high 7.5
Fixed in: 1.19.5
EPSS 2.2%
high 7.5
Fixed in: 1.19.4
EPSS 1.5%
CVE-2021-212522021-01-13
Regular expression denial of service in jquery-validation
Affected versions: < 1.19.3
high 7.5
Fixed in: 1.19.3
EPSS 3.5%
no CVE
Potential XSS via showLabel
Affected versions: < 1.20.0
medium
Fixed in: 1.20.0
Sources and method
Ranges: GitHub Advisory Database (OSV npm export, daily) and Retire.js (Apache-2.0). Exploitation: CISA KEV, FIRST EPSS and exploit maturity from the Noroxi CVE database. Support dates: endoflife.date.
This page and the JavaScript library scan use the same matching rule: a row without bounds is not evidence, and versions are compared in one place. A record without a version range never counts as "affected" in the version check.
Data as of October 31, 2026.