Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. jquery-validation
  4. ›
  5. CVE-2021-43306

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

June 3, 2022 (updated November 12, 2024)

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the jquery-validation npm package, when an attacker is able to supply arbitrary input to the url2 method

References

  • github.com/advisories/GHSA-j9m2-h2pv-wvph
  • github.com/jquery-validation/jquery-validation
  • github.com/jquery-validation/jquery-validation/commit/69cb17ed774b427f7e2ffcdf197968231725c30e
  • github.com/jquery-validation/jquery-validation/pull/2428
  • nvd.nist.gov/vuln/detail/CVE-2021-43306
  • research.jfrog.com/vulnerabilities/jquery-validation-redos-xray-211348

Code Behaviors & Features

Detect and mitigate CVE-2021-43306 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.19.4

Fixed versions

  • 1.19.4

Solution

Upgrade to version 1.19.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1333: Inefficient Regular Expression Complexity

Source file

npm/jquery-validation/CVE-2021-43306.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:58 +0000.