Lookup for vulnerabilities affecting packages.

GET /api/vulnerabilities/95127?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/95127?format=api",
    "vulnerability_id": "VCID-1j8p-nenk-nqaq",
    "summary": "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.",
    "aliases": [
        {
            "alias": "CVE-2022-31147"
        },
        {
            "alias": "GHSA-ffmh-x56j-9rc3"
        },
        {
            "alias": "GMS-2022-2867"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118733?format=api",
            "purl": "pkg:deb/debian/node-jquery-validation@0?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-jquery-validation@0%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/118732?format=api",
            "purl": "pkg:deb/debian/node-jquery-validation@1.21.0%2Bdfsg-4?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/node-jquery-validation@1.21.0%252Bdfsg-4%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/149194?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283157?format=api",
            "purl": "pkg:npm/jquery-validation@1.13.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.13.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283158?format=api",
            "purl": "pkg:npm/jquery-validation@1.14.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.14.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283159?format=api",
            "purl": "pkg:npm/jquery-validation@1.15.0-pre",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.15.0-pre"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283160?format=api",
            "purl": "pkg:npm/jquery-validation@1.15.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.15.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283161?format=api",
            "purl": "pkg:npm/jquery-validation@1.15.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.15.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283162?format=api",
            "purl": "pkg:npm/jquery-validation@1.16.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.16.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283163?format=api",
            "purl": "pkg:npm/jquery-validation@1.17.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.17.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283164?format=api",
            "purl": "pkg:npm/jquery-validation@1.18.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.18.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283165?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283166?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/283167?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-5jye-2stz-fqam"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/79478?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/589246?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.4-pre",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-c34h-kjrs-pffp"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.4-pre"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/149330?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/595966?format=api",
            "purl": "pkg:npm/jquery-validation@1.19.5-pre",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1j8p-nenk-nqaq"
                },
                {
                    "vulnerability": "VCID-gx8h-5h14-dqez"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery-validation@1.19.5-pre"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31147",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54395",
                    "published_at": "2026-06-04T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5445",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.5446",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.0031",
                    "scoring_system": "epss",
                    "scoring_elements": "0.54451",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-31147"
        },
        {
            "reference_url": "https://github.com/jquery-validation/jquery-validation",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jquery-validation/jquery-validation"
        },
        {
            "reference_url": "https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:53:30Z/"
                }
            ],
            "url": "https://github.com/jquery-validation/jquery-validation/commit/5bbd80d27fc6b607d2f7f106c89522051a9fb0dd"
        },
        {
            "reference_url": "https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:53:30Z/"
                }
            ],
            "url": "https://github.com/jquery-validation/jquery-validation/releases/tag/1.19.5"
        },
        {
            "reference_url": "https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2025-04-23T15:53:30Z/"
                }
            ],
            "url": "https://github.com/jquery-validation/jquery-validation/security/advisories/GHSA-ffmh-x56j-9rc3"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31147",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31147"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ffmh-x56j-9rc3",
            "reference_id": "GHSA-ffmh-x56j-9rc3",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-ffmh-x56j-9rc3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1333,
            "name": "Inefficient Regular Expression Complexity",
            "description": "The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles."
        },
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "7.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1j8p-nenk-nqaq"
}