CVE-2021-21252 — Regular Expression Denial of Service in...
Regular Expression Denial of Service in jquery-validation
Summary
Advisory Timeline
- First published January 13, 2021 (2098 days ago).
- Last revised July 8, 2026 — 2002 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install jquery-validation@1.19.3
dotnet add package jQuery.Validation --version 1.19.3
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 2 ecosystems: npm (1), nuget (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| jquery-validation | npm | All versions | 1.19.3 |
| jQuery.Validation | nuget | 1.10.0, 1.11.0, 1.11.1, 1.12.0 (+16 more) | 1.19.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwmWEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21252ADVISORY
- https://github.com/jquery-validation/jquery-validation/pull/2371WEB
- https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7dWEB
- https://github.com/jquery-validation/jquery-validationPACKAGE
- https://jqueryvalidation.org/#installation-via-package-managersWEB
- https://lists.debian.org/debian-lts-announce/2023/08/msg00040.htmlWEB
- https://security.netapp.com/advisory/ntap-20210219-0005WEB
- https://securitylab.github.com/advisories/GHSL-2020-294-redos-jquery-validationADVISORY
- https://www.npmjs.com/package/jquery-validationWEB
- https://www.nuget.org/packages/jquery.validationWEB
Frequently Asked Questions
- What is CVE-2021-21252?
- Regular Expression Denial of Service in jquery-validation This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2021-21252?
- CVE-2021-21252 affects jquery-validation and jQuery.Validation. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2021-21252 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies