7.5high
jquery-validation ReDoS in url2 due to incomplete fix of CVE-2021-43306
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.30% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-ffmh-x56j-9rc3
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jquery-validation jquery-validation | < 1.19.5 | CVE List |
| jquery-validation (npm) | before 1.19.5 | GitHub Advisory Database |
| jqueryvalidation jquery_validation | before 1.19.5 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Summary
Incomplete fix of CVE-2021-43306: An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the jquery-validation npm package, when an attacker is able to supply arbitrary input to the url2 method.
NVD (es)
El plugin de comprobación de jQuery (jquery-validation) proporciona una comprobación directa para formularios. Las versiones de jquery-validation anteriores a 1.19.5 son vulnerables a una denegación de servicio por expresión regular (ReDoS) cuando un atacante es capaz de suministrar una entrada arbitraria al método url2. Esto es debido a una corrección incompleta de CVE-2021-43306. Los usuarios deben actualizar a versión 1.19.5 para recibir el parche
References
| https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3 | third-party-advisory, web | |
| 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://nvd.nist.gov/vuln/detail/CVE-2022-31147 | advisory | |
| https://github.com/jquery-validation/jquery-validation | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31147 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-ffmh-x56j-9rc3 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-31147 changed 2026-06-17 | Public domain |