Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/573166?format=api",
    "purl": "pkg:composer/nystudio107/craft-seomatic@3.4.7",
    "type": "composer",
    "namespace": "nystudio107",
    "name": "craft-seomatic",
    "version": "3.4.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.4.13",
    "latest_non_vulnerable_version": "3.4.13",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/210751?format=api",
            "vulnerability_id": "VCID-z31f-f9p2-77hb",
            "summary": "Code Injection in SEOmatic",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41749",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.85815",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99403",
                            "published_at": "2026-06-14T12:55:00Z"
                        },
                        {
                            "value": "0.85815",
                            "scoring_system": "epss",
                            "scoring_elements": "0.994",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.85815",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99404",
                            "published_at": "2026-06-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-41749"
                },
                {
                    "reference_url": "https://github.com/nystudio107/craft-seomatic",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nystudio107/craft-seomatic"
                },
                {
                    "reference_url": "https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nystudio107/craft-seomatic/blob/develop/CHANGELOG.md"
                },
                {
                    "reference_url": "https://github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/nystudio107/craft-seomatic/commit/3fee7d50147cdf3f999cfc1e04cbc3fb3d9f2f7d"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41749",
                    "reference_id": "CVE-2021-41749",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41749"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g7xr-v82w-qggq",
                    "reference_id": "GHSA-g7xr-v82w-qggq",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-g7xr-v82w-qggq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/24512?format=api",
                    "purl": "pkg:composer/nystudio107/craft-seomatic@3.4.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-z31f-f9p2-77hb"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/nystudio107/craft-seomatic@3.4.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/19674?format=api",
                    "purl": "pkg:composer/nystudio107/craft-seomatic@3.4.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-kahs-rv9y-hyas"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/nystudio107/craft-seomatic@3.4.12"
                }
            ],
            "aliases": [
                "CVE-2021-41749",
                "GHSA-g7xr-v82w-qggq"
            ],
            "risk_score": 10.0,
            "exploitability": "2.0",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z31f-f9p2-77hb"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/nystudio107/craft-seomatic@3.4.7"
}