What’s Vulnerable › Vulnerabilities

CVE-2022-31147: jquery-validation ReDoS in url2 due to incomplete fix of CVE-2021-43306

Description

The jQuery Validation Plugin (jquery-validation) provides drop-in validation for forms. Versions of jquery-validation prior to 1.19.5 are vulnerable to regular expression denial of service (ReDoS) when an attacker is able to supply arbitrary input to the url2 method. This is due to an incomplete fix for CVE-2021-43306. Users should upgrade to version 1.19.5 to receive a patch.

Affected products

How to fix

Upgrade to a fixed version: jquery-validation 1.19.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-31147 or the next vulnerability affects your stack