5.3medium
Regular expression denial of service in jquery-validation
- Severity
- 5.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 3.57% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-jxwx-85vp-gvwm
Description
The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package "jquery-validation". jquery-validation before version 1.19.3 contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jquery-validation jquery-validation | < 1.19.3 | CVE List |
| jquery-validation (npm) | before 1.19.3 | GitHub Advisory Database |
| jQuery.Validation (NuGet) | before 1.19.3 | GitHub Advisory Database |
| jqueryvalidation jquery_validation | before 1.19.3 | NVD |
| netapp snapcenter | Not specified | NVD |
All scores
| GitHub_M | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 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 |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
The jQuery Validation Plugin provides drop-in validation for your existing forms. It is published as an npm package "jquery-validation". jquery-validation before version 1.19.3 contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service). This is fixed in 1.19.3.
GitHub Advisory Database
The GitHub Security Lab team has identified potential security vulnerabilities in jquery.validation.
The project contains one or more regular expressions that are vulnerable to ReDoS (Regular Expression Denial of Service)
This issue was discovered and reported by GitHub team member @erik-krogh (Erik Krogh Kristensen).
NVD (es)
El Plugin jQuery Validation proporciona una validación directa para sus formularios existentes. Es publicado como un paquete npm "jquery-validation". jquery-validation versiones anteriores a 1.19.3, contiene una o más expresiones regulares que son vulnerables a una ReDoS (Denegación de servicio de expresión regular). Esto es corregido en la versión 1.19.3.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-21252 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jxwx-85vp-gvwm changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-21252 changed 2026-06-17 | Public domain |