Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/200827?format=api",
    "purl": "pkg:npm/jsonwebtoken@1.0.0",
    "type": "npm",
    "namespace": "",
    "name": "jsonwebtoken",
    "version": "1.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "4.2.2",
    "latest_non_vulnerable_version": "9.0.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37836?format=api",
            "vulnerability_id": "VCID-54h7-2gp7-1yb9",
            "summary": "JWT Verification bypass with \"none\" algorithm\nIt is possible for an attacker to create his own signed token with any payload he wants and have it considered valid using the \"none\" algorithm.",
            "references": [
                {
                    "reference_url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/"
                },
                {
                    "reference_url": "https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687"
                },
                {
                    "reference_url": "https://www.timmclean.net/2015/02/25/jwt-alg-none.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.timmclean.net/2015/02/25/jwt-alg-none.html"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52231?format=api",
                    "purl": "pkg:npm/jsonwebtoken@4.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.2.2"
                }
            ],
            "aliases": [
                "GMS-2015-4"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-54h7-2gp7-1yb9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40276?format=api",
            "vulnerability_id": "VCID-5n9u-avux-mbhx",
            "summary": "Use of a Broken or Risky Cryptographic Algorithm\nIn jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymmetric key (RS/ES family) of algorithms but instead the attacker send a token digitally signed with a symmetric algorithm (HS* family).",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-9235.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2015-9235.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2015-9235",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.37481",
                            "scoring_system": "epss",
                            "scoring_elements": "0.97271",
                            "published_at": "2026-06-04T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2015-9235"
                },
                {
                    "reference_url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries"
                },
                {
                    "reference_url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries/"
                },
                {
                    "reference_url": "https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/auth0/node-jsonwebtoken/commit/1bb584bc382295eeb7ee8c4452a673a77a68b687"
                },
                {
                    "reference_url": "https://nodesecurity.io/advisories/17",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nodesecurity.io/advisories/17"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/17",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/17"
                },
                {
                    "reference_url": "https://www.timmclean.net/2015/02/25/jwt-alg-none.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.timmclean.net/2015/02/25/jwt-alg-none.html"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1584880",
                    "reference_id": "1584880",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1584880"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2015-9235",
                    "reference_id": "CVE-2015-9235",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2015-9235"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-c7hr-j4mj-j2w6",
                    "reference_id": "GHSA-c7hr-j4mj-j2w6",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-c7hr-j4mj-j2w6"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/52231?format=api",
                    "purl": "pkg:npm/jsonwebtoken@4.2.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@4.2.2"
                }
            ],
            "aliases": [
                "CVE-2015-9235",
                "GHSA-c7hr-j4mj-j2w6"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5n9u-avux-mbhx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/jsonwebtoken@1.0.0"
}