Skip to content
Fencer Vulns
medium 5.3

CVE-2021-21252 json

Regular expression denial of service in jquery-validation

published 2021-01-13 5 y ago modified 2026-07-08 4 mo ago also GHSA-jxwx-85vp-gvwm , EUVD-2021-0508

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.6%
EPSS 3.6% chance of exploitation in 30 days, percentile 89%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm jquery-validation 1.19.3
  • nuget jQuery.Validation 1.19.3
  • jqueryvalidation jquery_validation 1.19.3
  • phpmyadmin Debian 14, Debian 13, Debian 12 4:5.0.4+dfsg2-2

debian advisories DEBIAN-CVE-2021-21252

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-21252 updated cvss 7.5

jquery-validate: jquery.validate.js vulnerable to ReDoS

  • Red Hat Decision Manager 7 jquery-validation Red Hat Process Automation 7 jquery-validation
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.57% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
npm jquery-validation
<1.19.3
1.19.3
nuget jQuery.Validation
<1.19.3
1.19.3

Affected products

  • jquery-validation jquery-validation

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.