Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/924027?format=api",
    "purl": "pkg:composer/solspace/craft-freeform@3.9.2",
    "type": "composer",
    "namespace": "solspace",
    "name": "craft-freeform",
    "version": "3.9.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.1.23",
    "latest_non_vulnerable_version": "5.14.7",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/212508?format=api",
            "vulnerability_id": "VCID-ez1y-hg5c-vyfw",
            "summary": "solspace/craft-freeform Vulnerable to XSS in `PhpSpreadsheet` HTML Writer Due to Unsanitized Styling Data",
            "references": [
                {
                    "reference_url": "https://github.com/solspace/craft-freeform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "1.9",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/solspace/craft-freeform"
                },
                {
                    "reference_url": "https://github.com/solspace/craft-freeform/releases/tag/v4.1.23",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "1.9",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/solspace/craft-freeform/releases/tag/v4.1.23"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-44jg-mv3h-wj6g",
                    "reference_id": "GHSA-44jg-mv3h-wj6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-44jg-mv3h-wj6g"
                },
                {
                    "reference_url": "https://github.com/solspace/craft-freeform/security/advisories/GHSA-44jg-mv3h-wj6g",
                    "reference_id": "GHSA-44jg-mv3h-wj6g",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "1.9",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/solspace/craft-freeform/security/advisories/GHSA-44jg-mv3h-wj6g"
                },
                {
                    "reference_url": "https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-wgmf-q9vr-vww6",
                    "reference_id": "GHSA-wgmf-q9vr-vww6",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "1.9",
                            "scoring_system": "cvssv4",
                            "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-wgmf-q9vr-vww6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/37830?format=api",
                    "purl": "pkg:composer/solspace/craft-freeform@4.1.23",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/solspace/craft-freeform@4.1.23"
                }
            ],
            "aliases": [
                "GHSA-44jg-mv3h-wj6g"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ez1y-hg5c-vyfw"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/212509?format=api",
            "vulnerability_id": "VCID-je1z-v9dt-rbfx",
            "summary": "solspace/craft-freeform Exposed to Known Axios Vulnerabilities via Precompiled Assets",
            "references": [
                {
                    "reference_url": "https://github.com/solspace/craft-freeform",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/solspace/craft-freeform"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rwr8-xrpw-9qf5",
                    "reference_id": "GHSA-rwr8-xrpw-9qf5",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rwr8-xrpw-9qf5"
                },
                {
                    "reference_url": "https://github.com/solspace/craft-freeform/security/advisories/GHSA-rwr8-xrpw-9qf5",
                    "reference_id": "GHSA-rwr8-xrpw-9qf5",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/solspace/craft-freeform/security/advisories/GHSA-rwr8-xrpw-9qf5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/37831?format=api",
                    "purl": "pkg:composer/solspace/craft-freeform@4.1.22",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ez1y-hg5c-vyfw"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/solspace/craft-freeform@4.1.22"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/37833?format=api",
                    "purl": "pkg:composer/solspace/craft-freeform@5.5.9",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2wk4-vz2y-5ybj"
                        },
                        {
                            "vulnerability": "VCID-ryu9-u35f-vqg5"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/solspace/craft-freeform@5.5.9"
                }
            ],
            "aliases": [
                "GHSA-rwr8-xrpw-9qf5"
            ],
            "risk_score": 1.4,
            "exploitability": "0.5",
            "weighted_severity": "2.7",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-je1z-v9dt-rbfx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/solspace/craft-freeform@3.9.2"
}