CVE-2022-31147 json
jquery-validation ReDoS in url2 due to incomplete fix of CVE-2021-43306
published 2022-07-05 4 y ago modified 2026-06-17 4 mo ago also GHSA-ffmh-x56j-9rc3 , EUVD-2022-6329
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.2%
- EPSS 2.2% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jquery-validation 1.19.5
- jqueryvalidation jquery_validation 1.19.5
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
2.24% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jquery-validation | <1.19.5 |
1.19.5 |
Affected products
- jquery-validation jquery-validation
Classification
- Weakness
-
- CWE-1333 Inefficient Regular Expression Complexity
References
-
github.com
/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd
web, patch, third-party-advisory
-
github.com
/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3
web, third-party-advisory
-
github.com
/jquery-validation/jquery-validation/releases/tag/1.19.5
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-31147
advisory
-
github.com
/jquery-validation/jquery-validation
package
Sources
- CVE List CVE-2022-31147
- GitHub Advisory GHSA-ffmh-x56j-9rc3
- NVD CVE-2022-31147
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.