Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/56246?format=api",
    "purl": "pkg:pypi/pyarchery@0.3",
    "type": "pypi",
    "namespace": "",
    "name": "pyarchery",
    "version": "0.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.3.0",
    "latest_non_vulnerable_version": "1.3.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/217851?format=api",
            "vulnerability_id": "VCID-1w4u-umbz-5qgs",
            "summary": "In Archery before 1.3, inserting an XSS payload into a project name (either by creating a new project or editing an existing one) will result in stored XSS on the vulnerability-scan scheduling page.",
            "references": [
                {
                    "reference_url": "https://github.com/archerysec/archerysec/compare/archerysec-v1.2...v1.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archerysec/archerysec/compare/archerysec-v1.2...v1.3"
                },
                {
                    "reference_url": "https://github.com/archerysec/archerysec/issues/338",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archerysec/archerysec/issues/338"
                },
                {
                    "reference_url": "https://github.com/archerysec/archerysec/releases/tag/v1.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archerysec/archerysec/releases/tag/v1.3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56250?format=api",
                    "purl": "pkg:pypi/pyarchery@1.3.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyarchery@1.3.0"
                }
            ],
            "aliases": [
                "PYSEC-2019-42"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1w4u-umbz-5qgs"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/217852?format=api",
            "vulnerability_id": "VCID-jpcq-956w-qugw",
            "summary": "In Archery before 1.3, inserting an XSS payload into a project name (either by creating a new project or editing an existing one) will result in stored XSS on the vulnerability-scan scheduling page.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-20008",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0036",
                            "scoring_system": "epss",
                            "scoring_elements": "0.58536",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.0036",
                            "scoring_system": "epss",
                            "scoring_elements": "0.58648",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-20008"
                },
                {
                    "reference_url": "https://github.com/archerysec/archerysec/compare/archerysec-v1.2...v1.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archerysec/archerysec/compare/archerysec-v1.2...v1.3"
                },
                {
                    "reference_url": "https://github.com/archerysec/archerysec/issues/338",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archerysec/archerysec/issues/338"
                },
                {
                    "reference_url": "https://github.com/archerysec/archerysec/releases/tag/v1.3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/archerysec/archerysec/releases/tag/v1.3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/56250?format=api",
                    "purl": "pkg:pypi/pyarchery@1.3.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyarchery@1.3.0"
                }
            ],
            "aliases": [
                "CVE-2019-20008",
                "PYSEC-2019-112"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jpcq-956w-qugw"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyarchery@0.3"
}