CVE-2022-31147: jquery-validation
Vulnerability summary
CVE-2022-31147 is a high (CVSS 7.5) vulnerability in jquery-validation. EPSS estimates a 2.24% chance of exploitation in the next 30 days, higher than 82.6% of scored vulnerabilities.
Timeline
- 14-07-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
The jQuery Validation Plugin (jquery-validation) provides drop-in validation for forms. Versions of jquery-validation prior to 1.19.5 are vulnerable to regular expression denial of service (ReDoS) when an attacker is able to supply arbitrary input to the url2 method. This is due to an incomplete fix for CVE-2021-43306. Users should upgrade to version 1.19.5 to receive a patch.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
2.24%
Chance of exploitation in the next 30 days
Percentile
83%
Versus all other CVEs
30-day change
+0.06 pp
From 2.18% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Jquery-validation1 product
- jquery-validation< 1.19.5
Jqueryvalidation1 product
- jquery_validation< 1.19.5
Npm1 product
- jquery-validation< 1.19.5
Ubuntu1 product
- civicrmAll versions (No fix recorded)
4 vendors · 4 products
References
7 links- github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3X Refsource CONFIRMWEBThird Party Advisory
- github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0ddX Refsource MISCWEBPatchThird Party Advisory
- github.com/jquery-validation/jquery-validation/releases/tag/1.19.5X Refsource MISCWEBRelease NotesThird Party Advisory