Loading...
Skip to main content

CVE-2021-21252 — Regular Expression Denial of Service in...

HIGH

Regular Expression Denial of Service in jquery-validation

Published January 13, 2021Updated July 8, 2026Source: osv

Summary

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).

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
Update jquery-validation to 1.19.3 or later
npm install jquery-validation@1.19.3
NuGet
Update jQuery.Validation to 1.19.3 or later
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).

PackageEcosystemAffectedFixed In
jquery-validation
npm
All versions1.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-400
    Uncontrolled Resource ConsumptionMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

CVSS Score
7.5

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-jxwx-85vp-gvwm

Related CVEs

  • CVE-2026-107375
    HIGH

    JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort

  • CVE-2026-107384
    HIGH

    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