Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/403341?format=api",
    "purl": "pkg:npm/shout@0.49.2",
    "type": "npm",
    "namespace": "",
    "name": "shout",
    "version": "0.49.2",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "0.50.0",
    "latest_non_vulnerable_version": "1.0.0-alpha1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/361557?format=api",
            "vulnerability_id": "VCID-6231-kupz-nqbf",
            "summary": "HTML Injection\nBecause the `/topic` command in messages is unescaped, attackers have the ability to inject HTML scripts that will run in the victim's browser.",
            "references": [
                {
                    "reference_url": "https://github.com/erming/shout/pull/344",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/erming/shout/pull/344"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/14441?format=api",
                    "purl": "pkg:npm/shout@0.50.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shout@0.50.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/403342?format=api",
                    "purl": "pkg:npm/shout@1.0.0-alpha1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shout@1.0.0-alpha1"
                }
            ],
            "aliases": [
                "GMS-2015-2"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6231-kupz-nqbf"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/202494?format=api",
            "vulnerability_id": "VCID-sg4z-2ngp-wqfg",
            "summary": "HTML Injection in shout",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16043",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00259",
                            "scoring_system": "epss",
                            "scoring_elements": "0.49606",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00259",
                            "scoring_system": "epss",
                            "scoring_elements": "0.49742",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-16043"
                },
                {
                    "reference_url": "https://github.com/erming/shout/pull/344",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/erming/shout/pull/344"
                },
                {
                    "reference_url": "https://www.npmjs.com/advisories/322",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.npmjs.com/advisories/322"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16043",
                    "reference_id": "CVE-2017-16043",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16043"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-26q7-g57v-mxcp",
                    "reference_id": "GHSA-26q7-g57v-mxcp",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-26q7-g57v-mxcp"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/14441?format=api",
                    "purl": "pkg:npm/shout@0.50.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shout@0.50.0"
                }
            ],
            "aliases": [
                "CVE-2017-16043",
                "GHSA-26q7-g57v-mxcp"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-sg4z-2ngp-wqfg"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.1",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/shout@0.49.2"
}