Skip to content
OpenAdvisories
High · 7.5 Public exploit CVE-2022-31147 EUVD-2022-6329GHSA-ffmh-x56j-9rc3

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

Published Jul 14, 2022 · Updated Apr 23, 2025 · 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.

Affected products

VendorProductAffectedFixed
jquery-validation jquery-validation < 1.19.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS civicrm No fix yet —
Ubuntu Pro 20.04 LTS civicrm No fix yet —
Ubuntu Pro 18.04 LTS civicrm No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS civicrm No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • amhar-hckr/Webapp_Pentast ★ 0 · Sep 2, 2025

    CVE-2022-31147 is a path traversal flaw in matthiasmullie/minify. This guide helps security teams test for arbitrary file read on Linux and Windows using Python and curl. It covers automated payload …

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm jquery-validation < 1.19.5 1.19.5 GHSA-ffmh-x56j-9rc3

Advisories 2

References