Regular Expression Denial of Service in jquery-validation
Published 13 Jan 2021 · Updated 8 Jul 2026
Is your project on an affected jquery-validation?
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
npm install jquery-validation@1.19.3- Affected
- <1.19.3
- Fixed in
- 1.19.3
dotnet add package jQuery.Validation --version 1.19.3Details
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
References
- Linkgithub.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwm
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-21252
- Linkgithub.com/jquery-validation/jquery-validation/pull/2371
- Linkgithub.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d
- Packagegithub.com/jquery-validation/jquery-validation
- Linkjqueryvalidation.org/#installation-via-package-managers
- Linklists.debian.org/debian-lts-announce/2023/08/msg00040.html
- Linksecurity.netapp.com/advisory/ntap-20210219-0005
- Advisorysecuritylab.github.com/advisories/GHSL-2020-294-redos-jquery-validation
- Linkwww.npmjs.com/package/jquery-validation
- Linkwww.nuget.org/packages/jquery.validation
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.