CVE-2022-31147
HIGH 7.5CVSS 3.1jquery-validation Regular Expression Denial of Service due to arbitrary input to url2 method
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.
- Published
- 14 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-ffmh-x56j-9rc3
- Sources
- NVDJSONOSV GHSA-ffmh-x56j-9rc3JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jqueryvalidation | jquery_validationcpe:2.3:a:jqueryvalidation:jquery_validation:*:*:*:*:*:node.js:*:* |
< 1.19.5 | 1.19.5 |
| OSV | npm | jquery-validation | < 1.19.5 | 1.19.5 |
References
- https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd · Patch, Third Party Advisory, WEB
- https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5 · Release Notes, Third Party Advisory, WEB
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31147 · ADVISORY
- https://github.com/jquery-validation/jquery-validation · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 14 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jul 2022)