Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/38191?format=api",
    "purl": "pkg:pypi/dash@0.37.0rc1",
    "type": "pypi",
    "namespace": "",
    "name": "dash",
    "version": "0.37.0rc1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.13.0",
    "latest_non_vulnerable_version": "2.15.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/9050?format=api",
            "vulnerability_id": "VCID-ays9-hw4y-w7hy",
            "summary": "Versions of the package dash-core-components before 2.13.0; all versions of the package dash-core-components; versions of the package dash before 2.15.0; all versions of the package dash-html-components; versions of the package dash-html-components before 2.0.16 are vulnerable to Cross-site Scripting (XSS) when the href of the a tag is controlled by an adversary. An authenticated attacker who stores a view that exploits this vulnerability could steal the data that's visible to another user who opens that view - not just the data already included on the page, but they could also, in theory, make additional requests and access other data accessible to this user. In some cases, they could also steal the access tokens of that user, which would allow the attacker to act as that user, including viewing other apps and resources hosted on the same server.\r\r**Note:**\r\rThis is only exploitable in Dash apps that include some mechanism to store user input to be reloaded by a different user.",
            "references": [
                {
                    "reference_url": "https://github.com/plotly/dash",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plotly/dash"
                },
                {
                    "reference_url": "https://github.com/plotly/dash/commit/9920073c9a8619ae8f90fcec1924f2f3a4332a8c",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/plotly/dash/commit/9920073c9a8619ae8f90fcec1924f2f3a4332a8c"
                },
                {
                    "reference_url": "https://github.com/plotly/dash/issues/2729",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/plotly/dash/issues/2729"
                },
                {
                    "reference_url": "https://github.com/plotly/dash/pull/2732",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/plotly/dash/pull/2732"
                },
                {
                    "reference_url": "https://github.com/plotly/dash/releases/tag/v2.15.0",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/plotly/dash/releases/tag/v2.15.0"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/dash/PYSEC-2024-35.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/dash/PYSEC-2024-35.yaml"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334"
                },
                {
                    "reference_url": "https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21485",
                    "reference_id": "CVE-2024-21485",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21485"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-547x-748v-vp6p",
                    "reference_id": "GHSA-547x-748v-vp6p",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-547x-748v-vp6p"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/38279?format=api",
                    "purl": "pkg:pypi/dash@2.13.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dash@2.13.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/38278?format=api",
                    "purl": "pkg:pypi/dash@2.15.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dash@2.15.0"
                }
            ],
            "aliases": [
                "CVE-2024-21485",
                "GHSA-547x-748v-vp6p",
                "PYSEC-2024-35"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ays9-hw4y-w7hy"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/dash@0.37.0rc1"
}