Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/473711?format=api",
    "purl": "pkg:npm/json-ptr@1.3.2-dependabot-npm-and-yarn-lodash-4-17-19.7fd4b3e",
    "type": "npm",
    "namespace": "",
    "name": "json-ptr",
    "version": "1.3.2-dependabot-npm-and-yarn-lodash-4-17-19.7fd4b3e",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.0.0",
    "latest_non_vulnerable_version": "3.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/331027?format=api",
            "vulnerability_id": "VCID-b543-88fa-v7et",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7766",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01064",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78088",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01064",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78155",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01064",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78168",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01064",
                            "scoring_system": "epss",
                            "scoring_elements": "0.78163",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-7766"
                },
                {
                    "reference_url": "https://github.com/418sec/json-ptr/pull/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/418sec/json-ptr/pull/3"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr/commit/2539e3494c80af1eef24f0f433654a61f255f011",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr/commit/2539e3494c80af1eef24f0f433654a61f255f011"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7766",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-7766"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939"
                },
                {
                    "reference_url": "https://www.huntr.dev/bounties/2-npm-json-ptr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.huntr.dev/bounties/2-npm-json-ptr"
                },
                {
                    "reference_url": "https://www.huntr.dev/bounties/2-npm-json-ptr/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.huntr.dev/bounties/2-npm-json-ptr/"
                },
                {
                    "reference_url": "https://www.npmjs.com/package/json-ptr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/package/json-ptr"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-x5r6-x823-9848",
                    "reference_id": "GHSA-x5r6-x823-9848",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-x5r6-x823-9848"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/473720?format=api",
                    "purl": "pkg:npm/json-ptr@2.0.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-q8r7-fty2-qfh2"
                        },
                        {
                            "vulnerability": "VCID-zjqv-evab-xffx"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-ptr@2.0.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/383494?format=api",
                    "purl": "pkg:npm/json-ptr@2.1.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-q8r7-fty2-qfh2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-ptr@2.1.0"
                }
            ],
            "aliases": [
                "CVE-2020-7766",
                "GHSA-x5r6-x823-9848"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-b543-88fa-v7et"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/335469?format=api",
            "vulnerability_id": "VCID-q8r7-fty2-qfh2",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23509",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01748",
                            "scoring_system": "epss",
                            "scoring_elements": "0.82959",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.01748",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8302",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01748",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83029",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01748",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83023",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-23509"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr/pull/42",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr/pull/42"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23509",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23509"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.6",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8gwj-8hxc-285w",
                    "reference_id": "GHSA-8gwj-8hxc-285w",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-8gwj-8hxc-285w"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/383093?format=api",
                    "purl": "pkg:npm/json-ptr@3.0.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-ptr@3.0.0"
                }
            ],
            "aliases": [
                "CVE-2021-23509",
                "GHSA-8gwj-8hxc-285w"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-q8r7-fty2-qfh2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361287?format=api",
            "vulnerability_id": "VCID-zjqv-evab-xffx",
            "summary": "Arbitrary Code Execution in json-ptr\nThere is a security vulnerability in `json-ptr` versions prior to v2.1.0 in which an unscrupulous actor may execute arbitrary code. If your code sends un-sanitized user input to json-ptr's .get() method, your project is vulnerable to this injection-style vulnerability.",
            "references": [
                {
                    "reference_url": "https://github.com/418sec/json-ptr/pull/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/418sec/json-ptr/pull/3"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr/blob/456a1728b45c8663bb1ac20a249c5fb17495ec6b/README.md#security-vulnerability-prior-to-v210",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr/blob/456a1728b45c8663bb1ac20a249c5fb17495ec6b/README.md#security-vulnerability-prior-to-v210"
                },
                {
                    "reference_url": "https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939"
                },
                {
                    "reference_url": "https://www.huntr.dev/bounties/2-npm-json-ptr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.huntr.dev/bounties/2-npm-json-ptr"
                },
                {
                    "reference_url": "https://www.huntr.dev/bounties/2-npm-json-ptr/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.huntr.dev/bounties/2-npm-json-ptr/"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/1706",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/1706"
                },
                {
                    "reference_url": "https://www.npmjs.com/package/json-ptr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/package/json-ptr"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rrqv-vjrw-hrcr",
                    "reference_id": "GHSA-rrqv-vjrw-hrcr",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rrqv-vjrw-hrcr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/383494?format=api",
                    "purl": "pkg:npm/json-ptr@2.1.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-q8r7-fty2-qfh2"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-ptr@2.1.0"
                }
            ],
            "aliases": [
                "GHSA-rrqv-vjrw-hrcr",
                "GMS-2021-183"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zjqv-evab-xffx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/json-ptr@1.3.2-dependabot-npm-and-yarn-lodash-4-17-19.7fd4b3e"
}