Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61649?format=api",
    "purl": "pkg:npm/%40yaireo/tagify@4.9.8",
    "type": "npm",
    "namespace": "@yaireo",
    "name": "tagify",
    "version": "4.9.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43078?format=api",
            "vulnerability_id": "VCID-bkrg-f1a5-7bck",
            "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nThis affects the package @yaireo/tagify before 4.9.8. The package is used for rendering UI components inside the input or text fields, and an attacker can pass a malicious placeholder value to it to fire the XSS payload.",
            "references": [
                {
                    "reference_url": "https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/yairEO/tagify/commit/198c0451fad188390390395ccfc84ab371def4c7"
                },
                {
                    "reference_url": "https://github.com/yairEO/tagify/issues/988",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/yairEO/tagify/issues/988"
                },
                {
                    "reference_url": "https://github.com/yairEO/tagify/releases/tag/v4.9.8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/yairEO/tagify/releases/tag/v4.9.8"
                },
                {
                    "reference_url": "https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://snyk.io/vuln/SNYK-JS-YAIREOTAGIFY-2404358"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25854",
                    "reference_id": "CVE-2022-25854",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25854"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-pxpf-v376-7xx5",
                    "reference_id": "GHSA-pxpf-v376-7xx5",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-pxpf-v376-7xx5"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61649?format=api",
                    "purl": "pkg:npm/%40yaireo/tagify@4.9.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540yaireo/tagify@4.9.8"
                }
            ],
            "aliases": [
                "CVE-2022-25854",
                "GHSA-pxpf-v376-7xx5"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bkrg-f1a5-7bck"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540yaireo/tagify@4.9.8"
}