HighGHSA-jxwx-85vp-gvwmCVE-2021-21252

Regular Expression Denial of Service in jquery-validation

Published 13 Jan 2021 · Updated 8 Jul 2026

Is your project on an affected jquery-validation?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several JavaScript apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
<1.19.3
Fixed in
1.19.3
Update to the fixed version for your release line, for example:npm install jquery-validation@1.19.3
Affected
<1.19.3
Fixed in
1.19.3
Update to the fixed version for your release line, for example:dotnet add package jQuery.Validation --version 1.19.3

Details

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

Is GHSA-jxwx-85vp-gvwm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected jquery-validation, and gives you the command that fixes it.

More advisories for jquery-validation

  • MediumCVE-2025-3573jquery-validation vulnerable to Cross-site Scripting · 15 Apr 2025
  • HighCVE-2022-31147jquery-validation Regular Expression Denial of Service due to arbitrary input to url2 method · 5 Jul 2022
  • LowCVE-2021-43306Regular expression denial of service in jquery-validation · 3 Jun 2022
jquery-validation security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.