Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/942979?format=api",
    "purl": "pkg:deb/debian/wordpress@3.3.1%2Bdfsg-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "wordpress",
    "version": "3.3.1+dfsg-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.3.2+dfsg-1",
    "latest_non_vulnerable_version": "6.9.4+dfsg1-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/92279?format=api",
            "vulnerability_id": "VCID-hxky-9sa6-4udb",
            "summary": "Cross-site scripting (XSS) vulnerability in wp-comments-post.php in WordPress 3.3.x before 3.3.1, when Internet Explorer is used, allows remote attackers to inject arbitrary web script or HTML via the query string in a POST operation that is not properly handled by the \"Duplicate comment detected\" feature.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0287",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69417",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69428",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69444",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69424",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69474",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6949",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69512",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69496",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69482",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.69521",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6953",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00601",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6951",
                            "published_at": "2026-04-21T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-0287"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0287",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-0287"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942979?format=api",
                    "purl": "pkg:deb/debian/wordpress@3.3.1%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@3.3.1%252Bdfsg-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942927?format=api",
                    "purl": "pkg:deb/debian/wordpress@5.7.11%2Bdfsg1-0%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-gyaq-8pvh-p7gg"
                        },
                        {
                            "vulnerability": "VCID-jghn-eujf-zbdn"
                        },
                        {
                            "vulnerability": "VCID-yqam-kpce-dfg7"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@5.7.11%252Bdfsg1-0%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942925?format=api",
                    "purl": "pkg:deb/debian/wordpress@6.1.9%2Bdfsg1-0%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-gyaq-8pvh-p7gg"
                        },
                        {
                            "vulnerability": "VCID-jghn-eujf-zbdn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.1.9%252Bdfsg1-0%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942929?format=api",
                    "purl": "pkg:deb/debian/wordpress@6.8.3%2Bdfsg1-0%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.8.3%252Bdfsg1-0%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/942928?format=api",
                    "purl": "pkg:deb/debian/wordpress@6.9.4%2Bdfsg1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@6.9.4%252Bdfsg1-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2012-0287"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hxky-9sa6-4udb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/wordpress@3.3.1%252Bdfsg-1%3Fdistro=trixie"
}