Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/17917?format=api",
    "vulnerability_id": "VCID-acbn-e363-gqcz",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nCross Site Scripting vulnerability in jQuery 2.2.0 through 3.x before 3.5.0 allows a remote attacker to execute arbitrary code via the <options> element.",
    "aliases": [
        {
            "alias": "CVE-2020-23064"
        },
        {
            "alias": "GHSA-257q-pv89-v3xv"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64593?format=api",
            "purl": "pkg:gem/jquery-rails@4.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/jquery-rails@4.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64588?format=api",
            "purl": "pkg:maven/org.webjars.npm/jquery@3.5.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.webjars.npm/jquery@3.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64592?format=api",
            "purl": "pkg:npm/jquery@3.5.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery@3.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64595?format=api",
            "purl": "pkg:nuget/jQuery@3.5.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/jQuery@3.5.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64597?format=api",
            "purl": "pkg:nuget/org.webjars.npm/jquery@3.5.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/org.webjars.npm/jquery@3.5.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/108882?format=api",
            "purl": "pkg:gem/jquery-rails@4.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5pv8-nzx7-pqg2"
                },
                {
                    "vulnerability": "VCID-795n-caf2-fbcq"
                },
                {
                    "vulnerability": "VCID-acbn-e363-gqcz"
                },
                {
                    "vulnerability": "VCID-n2z8-yesj-9bea"
                },
                {
                    "vulnerability": "VCID-udyq-t9jd-s7gn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/jquery-rails@4.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64587?format=api",
            "purl": "pkg:maven/org.webjars.npm/jquery@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-acbn-e363-gqcz"
                },
                {
                    "vulnerability": "VCID-gvey-a924-8qhf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.webjars.npm/jquery@1.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64591?format=api",
            "purl": "pkg:npm/jquery@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-acbn-e363-gqcz"
                },
                {
                    "vulnerability": "VCID-gvey-a924-8qhf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jquery@1.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64594?format=api",
            "purl": "pkg:nuget/jQuery@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-acbn-e363-gqcz"
                },
                {
                    "vulnerability": "VCID-gvey-a924-8qhf"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/jQuery@1.0.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/64596?format=api",
            "purl": "pkg:nuget/org.webjars.npm/jquery@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-acbn-e363-gqcz"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/org.webjars.npm/jquery@1.0.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-23064.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-23064.json"
        },
        {
            "reference_url": "https://blog.jquery.com/2020/04/10/jquery-3-5-0-released",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://blog.jquery.com/2020/04/10/jquery-3-5-0-released"
        },
        {
            "reference_url": "https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": ""
                }
            ],
            "url": "https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/"
        },
        {
            "reference_url": "https://github.com/jquery/jquery",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jquery/jquery"
        },
        {
            "reference_url": "https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/jquery/jquery/commit/1d61fd9407e6fbe82fe55cb0b938307aa0791f77"
        },
        {
            "reference_url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#410",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#410"
        },
        {
            "reference_url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#440",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rails/jquery-rails/blob/master/CHANGELOG.md#440"
        },
        {
            "reference_url": "https://github.com/rails/jquery-rails/blob/v4.3.5/vendor/assets/javascripts/jquery3.js#L5979",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rails/jquery-rails/blob/v4.3.5/vendor/assets/javascripts/jquery3.js#L5979"
        },
        {
            "reference_url": "https://github.com/rails/jquery-rails/blob/v4.4.0/vendor/assets/javascripts/jquery3.js#L6162",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rails/jquery-rails/blob/v4.4.0/vendor/assets/javascripts/jquery3.js#L6162"
        },
        {
            "reference_url": "https://security.netapp.com/advisory/ntap-20230725-0003",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security.netapp.com/advisory/ntap-20230725-0003"
        },
        {
            "reference_url": "https://snyk.io/vuln/SNYK-JS-JQUERY-565129",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://snyk.io/vuln/SNYK-JS-JQUERY-565129"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2217733",
            "reference_id": "2217733",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2217733"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-23064",
            "reference_id": "CVE-2020-23064",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-23064"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-23064.yml",
            "reference_id": "CVE-2020-23064.YML",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/jquery-rails/CVE-2020-23064.yml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-257q-pv89-v3xv",
            "reference_id": "GHSA-257q-pv89-v3xv",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-257q-pv89-v3xv"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2025:7625",
            "reference_id": "RHSA-2025:7625",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2025:7625"
        }
    ],
    "weaknesses": [
        {
            "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": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        },
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "5.7",
    "risk_score": 2.9,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-acbn-e363-gqcz"
}