CVE-2021-21252: GHSL-2020-294: ReDoS (Regular Expression Denial of Service) in jquery.validation - CVE-2021-21252

Published Jan 13, 2021
·
Updated

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

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
nuget/jQuery.Validation<1.19.3
1.19.3
npm/jquery-validation<1.19.3
1.19.3
Jqueryvalidation Jquery Validation Node.js<1.19.3
NetApp Snapcenter

Event History

Jan 13, 2021
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Advisory Published
06:21 PM
Jan 26, 2021
Advisory Published
via GitHub Security Lab·12:00 AM
Data Sourced
via GitHub Security Lab·12:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2021-21252?

CVE-2021-21252 has a moderate severity level due to its potential for Regular Expression Denial of Service (ReDoS) attacks.

2

How do I fix CVE-2021-21252?

To fix CVE-2021-21252, upgrade to jQuery.Validation version 1.19.3 or later.

3

What software is affected by CVE-2021-21252?

CVE-2021-21252 affects jQuery.Validation versions prior to 1.19.3, as well as related packages in npm and NuGet.

4

When was CVE-2021-21252 discovered?

CVE-2021-21252 was reported by the GitHub Security Lab team aiming to raise awareness of vulnerabilities in jQuery.Validation.

5

What type of vulnerability is CVE-2021-21252?

CVE-2021-21252 is a Regular Expression Denial of Service (ReDoS) vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203