CVE-2021-21252
JSON

5.3medium

Regular expression denial of service in jquery-validation

Severity
5.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
3.57% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jxwx-85vp-gvwm

Description

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.

Affected

Product or packageVersionsReported by
jquery-validation jquery-validation< 1.19.3CVE List
jquery-validation (npm)before 1.19.3GitHub Advisory Database
jQuery.Validation (NuGet)before 1.19.3GitHub Advisory Database
jqueryvalidation jquery_validationbefore 1.19.3NVD
netapp snapcenterNot specifiedNVD

All scores

GitHub_M5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:N/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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

NVD (es)

El Plugin jQuery Validation proporciona una validación directa para sus formularios existentes. Es publicado como un paquete npm "jquery-validation".&#xa0;jquery-validation versiones anteriores a 1.19.3, contiene una o más expresiones regulares que son vulnerables a una ReDoS (Denegación de servicio de expresión regular).&#xa0;Esto es corregido en la versión 1.19.3.

References

https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwmthird-party-advisory, web
https://github.com/jquery-validation/jquery-validation/pull/2371patch, third-party-advisory, web
https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7dpatch, third-party-advisory, web
https://www.npmjs.com/package/jquery-validationproduct, third-party-advisory, web
https://security.netapp.com/advisory/ntap-20210219-0005/third-party-advisory
https://lists.debian.org/debian-lts-announce/2023/08/msg00040.htmlmailing-list, web
https://nvd.nist.gov/vuln/detail/CVE-2021-21252advisory
https://github.com/jquery-validation/jquery-validationpackage
https://jqueryvalidation.org/#installation-via-package-managersweb
https://security.netapp.com/advisory/ntap-20210219-0005web
https://securitylab.github.com/advisories/GHSL-2020-294-redos-jquery-validationadvisory
https://www.nuget.org/packages/jquery.validationweb

Sources

SourceRecordLicence
CVE ListCVE-2021-21252 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-jxwx-85vp-gvwm changed 2026-07-08CC-BY-4.0
NVDCVE-2021-21252 changed 2026-06-17Public domain