# CVE-2021-21252: Regular expression denial of service in jquery-validation

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.57%, higher than 89% of CVEs (2026-12-01)
- Published: 2021-01-13T00:00:00.000Z
- Modified: 2026-07-08T06:29:20.727Z
- Also known as: GHSA-jxwx-85vp-gvwm
- Weaknesses: CWE-400
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- jquery-validation jquery-validation: < 1.19.3
- jquery-validation (npm): before 1.19.3
- jQuery.Validation (NuGet): before 1.19.3
- jqueryvalidation jquery_validation: before 1.19.3
- netapp snapcenter: no versions given

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-jxwx-85vp-gvwm> (third-party-advisory, web)
- <https://github.com/jquery-validation/jquery-validation/pull/2371> (patch, third-party-advisory, web)
- <https://github.com/jquery-validation/jquery-validation/commit/5d8f29eef363d043a8fec4eb86d42cadb5fa5f7d> (patch, third-party-advisory, web)
- <https://www.npmjs.com/package/jquery-validation> (product, 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.html> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21252> (advisory)
- <https://github.com/jquery-validation/jquery-validation> (package)
- <https://jqueryvalidation.org/#installation-via-package-managers> (web)
- <https://security.netapp.com/advisory/ntap-20210219-0005> (web)
- <https://securitylab.github.com/advisories/GHSL-2020-294-redos-jquery-validation> (advisory)
- <https://www.nuget.org/packages/jquery.validation> (web)

## Sources

- CVE List: [CVE-2021-21252](https://www.cve.org/CVERecord?id=CVE-2021-21252), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-jxwx-85vp-gvwm](https://github.com/advisories/GHSA-jxwx-85vp-gvwm), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21252](https://nvd.nist.gov/vuln/detail/CVE-2021-21252), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21252 · Whole record: https://cve.day/CVE-2021-21252.json · Rebuilt by cve.day 2026-11-25T22:57:59.365Z
