Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/942740?format=api",
    "purl": "pkg:composer/solspace/craft-freeform@3.12.10",
    "type": "composer",
    "namespace": "solspace",
    "name": "craft-freeform",
    "version": "3.12.10",
    "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/49726?format=api",
            "vulnerability_id": "VCID-2p2x-cu65-t3g5",
            "summary": "solspace/craft-freeform Exposed to Known Axios Vulnerabilities via Precompiled Assets\nThe latest versions of both 4.x and 5.x are using Axios versions < 1.7.5 and as such are subject to known vulnerabilities as per: https://security.snyk.io/package/npm/axios",
            "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/73432?format=api",
                    "purl": "pkg:composer/solspace/craft-freeform@4.1.22",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-ztwx-5smd-yuan"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/solspace/craft-freeform@4.1.22"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73433?format=api",
                    "purl": "pkg:composer/solspace/craft-freeform@5.5.9",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-n9hg-pqvt-xfaj"
                        },
                        {
                            "vulnerability": "VCID-z5t1-phnb-6bat"
                        }
                    ],
                    "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-2p2x-cu65-t3g5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49730?format=api",
            "vulnerability_id": "VCID-ztwx-5smd-yuan",
            "summary": "solspace/craft-freeform Vulnerable to XSS in `PhpSpreadsheet` HTML Writer Due to Unsanitized Styling Data\n_Short summary of the problem. Make the impact and severity as clear as possible. For example: An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the server._\n\n\\PhpOffice\\PhpSpreadsheet\\Writer\\Html doesn't sanitize spreadsheet styling information such as font names, allowing an attacker to inject arbitrary JavaScript on the page.",
            "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/73437?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-ztwx-5smd-yuan"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "1.4",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/solspace/craft-freeform@3.12.10"
}