Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/218184?format=api",
    "purl": "pkg:npm/ag-grid@10.0.2-beta.1",
    "type": "npm",
    "namespace": "",
    "name": "ag-grid",
    "version": "10.0.2-beta.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "18.1.3",
    "latest_non_vulnerable_version": "18.1.3",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53058?format=api",
            "vulnerability_id": "VCID-febj-sc5s-jqcx",
            "summary": "ag-grid Cross-Site Scripting vulnerability\nVersions of `ag-grid` prior to 14.0.0 are vulnerable to Cross-Site Scripting (XSS). Grid contents are not properly sanitized and may allow attackers to execute arbitrary JavaScript if user input is rendered in the grid.",
            "references": [
                {
                    "reference_url": "https://github.com/ag-grid/ag-grid",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ag-grid/ag-grid"
                },
                {
                    "reference_url": "https://github.com/ag-grid/ag-grid/commit/b66b1ddf73056714f6574e054d6e05d6ba531ce8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ag-grid/ag-grid/commit/b66b1ddf73056714f6574e054d6e05d6ba531ce8"
                },
                {
                    "reference_url": "https://github.com/ag-grid/ag-grid/issues/1961",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ag-grid/ag-grid/issues/1961"
                },
                {
                    "reference_url": "https://github.com/github/advisory-database/issues/5799",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/github/advisory-database/issues/5799"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/894",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.npmjs.com/advisories/894"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7p6w-x2gr-rrf8",
                    "reference_id": "GHSA-7p6w-x2gr-rrf8",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7p6w-x2gr-rrf8"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/78046?format=api",
                    "purl": "pkg:npm/ag-grid@14.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-k1qg-ydq7-x7fs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ag-grid@14.0.0"
                }
            ],
            "aliases": [
                "GHSA-7p6w-x2gr-rrf8",
                "GMS-2020-44"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-febj-sc5s-jqcx"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39743?format=api",
            "vulnerability_id": "VCID-k1qg-ydq7-x7fs",
            "summary": "ag-grid is vulnerable to Cross-site Scripting (XSS) via Angular Expressions, if AngularJS is used in combination with ag-grid.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16009",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00491",
                            "scoring_system": "epss",
                            "scoring_elements": "0.65951",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16009"
                },
                {
                    "reference_url": "https://github.com/ag-grid/ag-grid",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ag-grid/ag-grid"
                },
                {
                    "reference_url": "https://github.com/ceolter/ag-grid/issues/1287",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/ceolter/ag-grid/issues/1287"
                },
                {
                    "reference_url": "https://spring.io/blog/2016/01/28/angularjs-escaping-the-expression-sandbox-for-xss",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://spring.io/blog/2016/01/28/angularjs-escaping-the-expression-sandbox-for-xss"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16009",
                    "reference_id": "CVE-2017-16009",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16009"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55582?format=api",
                    "purl": "pkg:npm/ag-grid@18.1.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ag-grid@18.1.3"
                }
            ],
            "aliases": [
                "CVE-2017-16009",
                "GHSA-wfw3-rgfr-6g67"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k1qg-ydq7-x7fs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/ag-grid@10.0.2-beta.1"
}