Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/16670?format=api",
    "purl": "pkg:npm/dijit@1.14.7",
    "type": "npm",
    "namespace": "",
    "name": "dijit",
    "version": "1.14.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.15.4",
    "latest_non_vulnerable_version": "1.16.3",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/204956?format=api",
            "vulnerability_id": "VCID-1v3u-f8n6-8ka8",
            "summary": "Cross-site Scripting in dijit editor's LinkDialog plugin",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-4051.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-4051.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-4051",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44303",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00216",
                            "scoring_system": "epss",
                            "scoring_elements": "0.44456",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-4051"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4051",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-4051"
                },
                {
                    "reference_url": "https://github.com/dojo/dijit/commit/462bdcd60d0333315fe69ab4709c894d78f61301",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dojo/dijit/commit/462bdcd60d0333315fe69ab4709c894d78f61301"
                },
                {
                    "reference_url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00030.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2023/01/msg00030.html"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20201023-0003",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20201023-0003"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1879724",
                    "reference_id": "1879724",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1879724"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970000",
                    "reference_id": "970000",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970000"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2020-4051",
                    "reference_id": "CVE-2020-4051",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-4051"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cxjc-r2fp-7mq6",
                    "reference_id": "GHSA-cxjc-r2fp-7mq6",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-cxjc-r2fp-7mq6"
                },
                {
                    "reference_url": "https://github.com/dojo/dijit/security/advisories/GHSA-cxjc-r2fp-7mq6",
                    "reference_id": "GHSA-cxjc-r2fp-7mq6",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N"
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "LOW",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/dojo/dijit/security/advisories/GHSA-cxjc-r2fp-7mq6"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7569-1/",
                    "reference_id": "USN-7569-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7569-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16668?format=api",
                    "purl": "pkg:npm/dijit@1.11.11",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-e3va-2t14-1fdp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.11.11"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16667?format=api",
                    "purl": "pkg:npm/dijit@1.12.9",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-e3va-2t14-1fdp"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.12.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16665?format=api",
                    "purl": "pkg:npm/dijit@1.13.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.13.8"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16670?format=api",
                    "purl": "pkg:npm/dijit@1.14.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.14.7"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16674?format=api",
                    "purl": "pkg:npm/dijit@1.15.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.15.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/16672?format=api",
                    "purl": "pkg:npm/dijit@1.16.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.16.3"
                }
            ],
            "aliases": [
                "CVE-2020-4051",
                "GHSA-cxjc-r2fp-7mq6"
            ],
            "risk_score": 2.1,
            "exploitability": "0.5",
            "weighted_severity": "4.3",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-1v3u-f8n6-8ka8"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/dijit@1.14.7"
}