CVE-2021-21252
HIGH 7.5CVSS 3.1Regular Expression Denial of Service in jquery-validation
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.
- Published
- 13 Jan 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-jxwx-85vp-gvwm
- Sources
- NVDJSONOSV GHSA-jxwx-85vp-gvwmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jqueryvalidation | jquery_validationcpe:2.3:a:jqueryvalidation:jquery_validation:*:*:*:*:*:node.js:*:* |
< 1.19.3 | 1.19.3 |
| NVD | netapp | snapcentercpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* |
(no version) | |
| OSV | npm | jquery-validation | < 1.19.3 | 1.19.3 |
| OSV | NuGet | jQuery.Validation | < 1.19.3 | 1.19.3 |
References
- https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d · Patch, Third Party Advisory, WEB
- https://github.com/jquery-validation/jquery-validation/pull/2371 · Patch, Third Party Advisory, WEB
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwm · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/08/msg00040.html · WEB
- https://security.netapp.com/advisory/ntap-20210219-0005/ · Third Party Advisory, WEB
- https://www.npmjs.com/package/jquery-validation · Product, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21252 · ADVISORY
- https://github.com/jquery-validation/jquery-validation · PACKAGE
- https://jqueryvalidation.org/#installation-via-package-managers · WEB
- https://securitylab.github.com/advisories/GHSL-2020-294-redos-jquery-validation · ADVISORY
- https://www.nuget.org/packages/jquery.validation · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 13 Jan 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2021)