CVE-2022-31147
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
2.30% (higher than 83% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-ffmh-x56j-9rc3

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

Product or packageVersionsReported by
jquery-validation jquery-validation< 1.19.5CVE List
jquery-validation (npm)before 1.19.5GitHub Advisory Database
jqueryvalidation jquery_validationbefore 1.19.5NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1333

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

Summary

Incomplete fix of CVE-2021-43306: 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.

NVD (es)

El plugin de comprobación de jQuery (jquery-validation) proporciona una comprobación directa para formularios. Las versiones de jquery-validation anteriores a 1.19.5 son vulnerables a una denegación de servicio por expresión regular (ReDoS) cuando un atacante es capaz de suministrar una entrada arbitraria al método url2. Esto es debido a una corrección incompleta de CVE-2021-43306. Los usuarios deben actualizar a versión 1.19.5 para recibir el parche

References

Sources

SourceRecordLicence
CVE ListCVE-2022-31147 changed 2025-04-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-ffmh-x56j-9rc3 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-31147 changed 2026-06-17Public domain