Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/937889?format=api",
    "purl": "pkg:deb/debian/roundcube@0.5.4%2Bdfsg-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "roundcube",
    "version": "0.5.4+dfsg-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "0.6+dfsg-1",
    "latest_non_vulnerable_version": "1.6.15+dfsg-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92186?format=api",
            "vulnerability_id": "VCID-1aph-76b1-eyhv",
            "summary": "Cross-site scripting (XSS) vulnerability in the UI messages functionality in Roundcube Webmail before 0.5.4 allows remote attackers to inject arbitrary web script or HTML via the _mbox parameter to the default URI.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2011-2937",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67839",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67863",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67882",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67862",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67913",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67926",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6795",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67937",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67901",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67938",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67952",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67933",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67978",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67986",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67992",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.67967",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68009",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68051",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68018",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68044",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.00548",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68101",
                            "published_at": "2026-05-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2011-2937"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2937",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-2937"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641996",
                    "reference_id": "641996",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641996"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937889?format=api",
                    "purl": "pkg:deb/debian/roundcube@0.5.4%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/roundcube@0.5.4%252Bdfsg-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937879?format=api",
                    "purl": "pkg:deb/debian/roundcube@1.4.15%2Bdfsg.1-1%2Bdeb11u4?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-rdb5-bbvn-7fcq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/roundcube@1.4.15%252Bdfsg.1-1%252Bdeb11u4%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937877?format=api",
                    "purl": "pkg:deb/debian/roundcube@1.6.5%2Bdfsg-1%2Bdeb12u6?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/roundcube@1.6.5%252Bdfsg-1%252Bdeb12u6%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937881?format=api",
                    "purl": "pkg:deb/debian/roundcube@1.6.13%2Bdfsg-0%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/roundcube@1.6.13%252Bdfsg-0%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/937880?format=api",
                    "purl": "pkg:deb/debian/roundcube@1.6.15%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/roundcube@1.6.15%252Bdfsg-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2011-2937"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1aph-76b1-eyhv"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/roundcube@0.5.4%252Bdfsg-1%3Fdistro=trixie"
}