CVE-2022-31147: The jQuery Validation Plugin (jquery-validation) provides drop-in validation for forms
CVE-2022-31147 is a high-severity flaw (CVSS 7.5) affecting jquery validation. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.2% (top 17%) |
| CISA exploited list | No |
| Weakness | CWE-1333 |
| Published | 2022-07-14 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-31147?
jquery validation: upgrade to 1.19.5. Exact commands for each OS are on this page.
Is CVE-2022-31147 being exploited?
CVE-2022-31147 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-31147 affect?
CVE-2022-31147 affects jquery validation. Severity is high (CVSS 7.5). 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 arbitrar
How urgent is CVE-2022-31147?
Priority 52/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2021-43306 MEDIUM 5.9 UPGRADE An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the jquery-validation npm pack
- CVE-2021-21252 MEDIUM 5.3 UPGRADE MITIGATE The jQuery Validation Plugin provides drop-in validation for your existing forms