Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/592467?format=api",
    "purl": "pkg:composer/nystudio107/craft-seomatic@3.4.3",
    "type": "composer",
    "namespace": "nystudio107",
    "name": "craft-seomatic",
    "version": "3.4.3",
    "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/110735?format=api",
            "vulnerability_id": "VCID-qjyr-4hen-gbhm",
            "summary": "Code Injection in SEOmatic\nIn the SEOmatic plugin up to 3.4.11 for Craft CMS 3, it is possible for unauthenticated attackers to perform a Server-Side Template Injection, allowing for remote code execution.",
            "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.99398",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.85815",
                            "scoring_system": "epss",
                            "scoring_elements": "0.994",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.85815",
                            "scoring_system": "epss",
                            "scoring_elements": "0.99399",
                            "published_at": "2026-06-08T12: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": "",
                    "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/149269?format=api",
                    "purl": "pkg:composer/nystudio107/craft-seomatic@3.4.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-qjyr-4hen-gbhm"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/nystudio107/craft-seomatic@3.4.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/60947?format=api",
                    "purl": "pkg:composer/nystudio107/craft-seomatic@3.4.12",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-pnen-ufkp-pqct"
                        }
                    ],
                    "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-qjyr-4hen-gbhm"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "10.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/nystudio107/craft-seomatic@3.4.3"
}