Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/130885?format=api",
    "purl": "pkg:gem/rails@3.3",
    "type": "gem",
    "namespace": "",
    "name": "rails",
    "version": "3.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "6.1.7.7",
    "latest_non_vulnerable_version": "7.1.3.1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6903?format=api",
            "vulnerability_id": "VCID-3wtf-uu89-2qe5",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nMultiple cross-site scripting (XSS) vulnerabilities in actionview/lib/action_view/helpers/number_helper.rb in Ruby on Rails beta2 allow remote attackers to inject arbitrary web script or HTML via the (1) format, (2) negative_format, or (3) units parameter to the (a) number_to_currency, (b) number_to_percentage, or (c) number_to_human helper.",
            "references": [
                {
                    "reference_url": "http://lists.opensuse.org/opensuse-updates/2014-02/msg00081.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://lists.opensuse.org/opensuse-updates/2014-02/msg00081.html"
                },
                {
                    "reference_url": "http://openwall.com/lists/oss-security/2014/02/18/8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://openwall.com/lists/oss-security/2014/02/18/8"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2014-0215.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2014-0215.html"
                },
                {
                    "reference_url": "http://rhn.redhat.com/errata/RHSA-2014-0306.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "http://rhn.redhat.com/errata/RHSA-2014-0306.html"
                },
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-0081.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2014-0081.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2014-0081",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75435",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75446",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75467",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75447",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75438",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75378",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75382",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75394",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75415",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75471",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75483",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00885",
                            "scoring_system": "epss",
                            "scoring_elements": "0.75477",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2014-0081"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0081",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0081"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0082",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0082"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0130",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0130"
                },
                {
                    "reference_url": "https://github.com/rails/rails",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rails/rails"
                },
                {
                    "reference_url": "https://github.com/rails/rails/commit/08d0a11a3f62718d601d39e617c834759cf59bbb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rails/rails/commit/08d0a11a3f62718d601d39e617c834759cf59bbb"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0081.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2014-0081.yml"
                },
                {
                    "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2014-0081.yml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2014-0081.yml"
                },
                {
                    "reference_url": "https://groups.google.com/forum/#!topic/rubyonrails-security/tfp6gZCtzr4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://groups.google.com/forum/#!topic/rubyonrails-security/tfp6gZCtzr4"
                },
                {
                    "reference_url": "https://web.archive.org/web/20140911141416/http://www.securitytracker.com/id/1029782",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20140911141416/http://www.securitytracker.com/id/1029782"
                },
                {
                    "reference_url": "https://web.archive.org/web/20170307202606/http://www.securityfocus.com/bid/65647",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20170307202606/http://www.securityfocus.com/bid/65647"
                },
                {
                    "reference_url": "https://web.archive.org/web/20201207045136/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://web.archive.org/web/20201207045136/https://groups.google.com/forum/message/raw?msg=rubyonrails-security/tfp6gZCtzr4/j8LUHmu7fIEJ"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1065520",
                    "reference_id": "1065520",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1065520"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2014-0081",
                    "reference_id": "CVE-2014-0081",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-0081"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-m46p-ggm5-5j83",
                    "reference_id": "GHSA-m46p-ggm5-5j83",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-m46p-ggm5-5j83"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:0215",
                    "reference_id": "RHSA-2014:0215",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:0215"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2014:0306",
                    "reference_id": "RHSA-2014:0306",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2014:0306"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/20557?format=api",
                    "purl": "pkg:gem/rails@4.0.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2mcx-b9k2-83bh"
                        },
                        {
                            "vulnerability": "VCID-35rt-t6e1-pfa6"
                        },
                        {
                            "vulnerability": "VCID-3wtf-uu89-2qe5"
                        },
                        {
                            "vulnerability": "VCID-63gy-6njy-kbd8"
                        },
                        {
                            "vulnerability": "VCID-877d-u9ag-qqdr"
                        },
                        {
                            "vulnerability": "VCID-895a-ydc5-zfg6"
                        },
                        {
                            "vulnerability": "VCID-8dad-dvat-1fg4"
                        },
                        {
                            "vulnerability": "VCID-a6sp-18av-wya6"
                        },
                        {
                            "vulnerability": "VCID-c8b5-d83n-nuhw"
                        },
                        {
                            "vulnerability": "VCID-es1t-7196-4kbb"
                        },
                        {
                            "vulnerability": "VCID-g5q6-7uav-sqh1"
                        },
                        {
                            "vulnerability": "VCID-gsx2-9sc2-3fbr"
                        },
                        {
                            "vulnerability": "VCID-hppf-a715-r7b2"
                        },
                        {
                            "vulnerability": "VCID-mnkw-23eu-bkgc"
                        },
                        {
                            "vulnerability": "VCID-pb5f-g4uc-r7fp"
                        },
                        {
                            "vulnerability": "VCID-s5ah-tf63-a7cw"
                        },
                        {
                            "vulnerability": "VCID-t684-yp58-hkg8"
                        },
                        {
                            "vulnerability": "VCID-v3r3-bwp5-a3bn"
                        },
                        {
                            "vulnerability": "VCID-wg3a-j2dp-ayh4"
                        },
                        {
                            "vulnerability": "VCID-z1jv-4ga2-7kd1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.0.3"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/20558?format=api",
                    "purl": "pkg:gem/rails@4.1.0.beta2",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2mcx-b9k2-83bh"
                        },
                        {
                            "vulnerability": "VCID-3wtf-uu89-2qe5"
                        },
                        {
                            "vulnerability": "VCID-63gy-6njy-kbd8"
                        },
                        {
                            "vulnerability": "VCID-877d-u9ag-qqdr"
                        },
                        {
                            "vulnerability": "VCID-895a-ydc5-zfg6"
                        },
                        {
                            "vulnerability": "VCID-8dad-dvat-1fg4"
                        },
                        {
                            "vulnerability": "VCID-a6sp-18av-wya6"
                        },
                        {
                            "vulnerability": "VCID-c8b5-d83n-nuhw"
                        },
                        {
                            "vulnerability": "VCID-es1t-7196-4kbb"
                        },
                        {
                            "vulnerability": "VCID-g5q6-7uav-sqh1"
                        },
                        {
                            "vulnerability": "VCID-gsx2-9sc2-3fbr"
                        },
                        {
                            "vulnerability": "VCID-hppf-a715-r7b2"
                        },
                        {
                            "vulnerability": "VCID-mnkw-23eu-bkgc"
                        },
                        {
                            "vulnerability": "VCID-pb5f-g4uc-r7fp"
                        },
                        {
                            "vulnerability": "VCID-s5ah-tf63-a7cw"
                        },
                        {
                            "vulnerability": "VCID-t684-yp58-hkg8"
                        },
                        {
                            "vulnerability": "VCID-v3r3-bwp5-a3bn"
                        },
                        {
                            "vulnerability": "VCID-wg3a-j2dp-ayh4"
                        },
                        {
                            "vulnerability": "VCID-z1jv-4ga2-7kd1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.1.0.beta2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/134457?format=api",
                    "purl": "pkg:gem/rails@4.1.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2mcx-b9k2-83bh"
                        },
                        {
                            "vulnerability": "VCID-35rt-t6e1-pfa6"
                        },
                        {
                            "vulnerability": "VCID-3wtf-uu89-2qe5"
                        },
                        {
                            "vulnerability": "VCID-63gy-6njy-kbd8"
                        },
                        {
                            "vulnerability": "VCID-877d-u9ag-qqdr"
                        },
                        {
                            "vulnerability": "VCID-895a-ydc5-zfg6"
                        },
                        {
                            "vulnerability": "VCID-8dad-dvat-1fg4"
                        },
                        {
                            "vulnerability": "VCID-a6sp-18av-wya6"
                        },
                        {
                            "vulnerability": "VCID-c8b5-d83n-nuhw"
                        },
                        {
                            "vulnerability": "VCID-es1t-7196-4kbb"
                        },
                        {
                            "vulnerability": "VCID-g5q6-7uav-sqh1"
                        },
                        {
                            "vulnerability": "VCID-gsx2-9sc2-3fbr"
                        },
                        {
                            "vulnerability": "VCID-hppf-a715-r7b2"
                        },
                        {
                            "vulnerability": "VCID-mnkw-23eu-bkgc"
                        },
                        {
                            "vulnerability": "VCID-pb5f-g4uc-r7fp"
                        },
                        {
                            "vulnerability": "VCID-s5ah-tf63-a7cw"
                        },
                        {
                            "vulnerability": "VCID-t684-yp58-hkg8"
                        },
                        {
                            "vulnerability": "VCID-v3r3-bwp5-a3bn"
                        },
                        {
                            "vulnerability": "VCID-wg3a-j2dp-ayh4"
                        },
                        {
                            "vulnerability": "VCID-z1jv-4ga2-7kd1"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@4.1.0"
                }
            ],
            "aliases": [
                "CVE-2014-0081",
                "GHSA-m46p-ggm5-5j83",
                "OSV-103439"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3wtf-uu89-2qe5"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/rails@3.3"
}