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

- Severity: High 7.5 (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:H`
- 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): 2.30%, higher than 83% of CVEs (2026-12-01)
- Published: 2022-07-05T22:56:58.000Z
- Modified: 2026-06-17T04:44:54.150Z
- Also known as: GHSA-ffmh-x56j-9rc3
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- jquery-validation jquery-validation: < 1.19.5
- jquery-validation (npm): before 1.19.5
- jqueryvalidation jquery_validation: before 1.19.5

## Every score

- GitHub_M: 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`
- 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`

## References

- <https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3> (third-party-advisory, web)
- <https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd> (patch, third-party-advisory, web)
- <https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-31147> (advisory)
- <https://github.com/jquery-validation/jquery-validation> (package)

## Sources

- CVE List: [CVE-2022-31147](https://www.cve.org/CVERecord?id=CVE-2022-31147), CVE Terms of Use, modified 2025-04-23
- GitHub Advisory Database: [GHSA-ffmh-x56j-9rc3](https://github.com/advisories/GHSA-ffmh-x56j-9rc3), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2022-31147](https://nvd.nist.gov/vuln/detail/CVE-2022-31147), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31147 · Whole record: https://cve.day/CVE-2022-31147.json · Rebuilt by cve.day 2026-11-25T22:58:12.955Z
