Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/209525?format=api",
    "purl": "pkg:composer/silverstripe/mimevalidator@2.0.0",
    "type": "composer",
    "namespace": "silverstripe",
    "name": "mimevalidator",
    "version": "2.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/57562?format=api",
            "vulnerability_id": "VCID-g366-c4n9-vfcs",
            "summary": "Silverstripe CMS malicious file upload enables script execution\nSilverstripe CMS through 4.5 can be susceptible to script execution from malicious upload contents under allowed file extensions (for example HTML code in a TXT file). When these files are stored as protected or draft files, the MIME detection can cause browsers to execute the file contents. Uploads stored as protected or draft files are allowed by default for authorised users only, but can also be enabled through custom logic as well as modules such as silverstripe/userforms. Sites using the previously optional silverstripe/mimevalidator module can configure MIME whitelists rather than extension whitelists, and hence prevent this issue. Sites on the Common Web Platform (CWP) use this module by default, and are not affected.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-9309",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72651",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.726",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72612",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72635",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72618",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72608",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7265",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7266",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72562",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72569",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00727",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72586",
                            "published_at": "2026-04-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-9309"
                },
                {
                    "reference_url": "https://github.com/silverstripe/silverstripe-cms",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/silverstripe/silverstripe-cms"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-9309",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-9309"
                },
                {
                    "reference_url": "https://www.silverstripe.org/download/security-releases/CVE-2020-9309",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.silverstripe.org/download/security-releases/CVE-2020-9309"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-h77w-655f-6j3m",
                    "reference_id": "GHSA-h77w-655f-6j3m",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-h77w-655f-6j3m"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/209525?format=api",
                    "purl": "pkg:composer/silverstripe/mimevalidator@2.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/mimevalidator@2.0.0"
                }
            ],
            "aliases": [
                "CVE-2020-9309",
                "GHSA-h77w-655f-6j3m"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-g366-c4n9-vfcs"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/mimevalidator@2.0.0"
}