Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/22890?format=api",
    "purl": "pkg:pypi/products-isurlinportal@1.0.0",
    "type": "pypi",
    "namespace": "",
    "name": "products-isurlinportal",
    "version": "1.0.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.1.0",
    "latest_non_vulnerable_version": "3.1.0",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37228?format=api",
            "vulnerability_id": "VCID-dfbt-ru39-auag",
            "summary": "Products.isurlinportal is a replacement for isURLInPortal method in Plone. Prior to versions 2.1.0, 3.1.0, and 4.0.0, a url /login?came_from=////evil.example may redirect to an external website after login. This issue has been patched in versions 2.1.0, 3.1.0, and 4.0.0.",
            "references": [
                {
                    "reference_url": "https://github.com/plone/Products.isurlinportal",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.isurlinportal"
                },
                {
                    "reference_url": "https://github.com/plone/Products.isurlinportal/security/advisories/GHSA-43gx-6gv6-3jcp",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/plone/Products.isurlinportal/security/advisories/GHSA-43gx-6gv6-3jcp"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28413",
                    "reference_id": "CVE-2026-28413",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28413"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-43gx-6gv6-3jcp",
                    "reference_id": "GHSA-43gx-6gv6-3jcp",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-43gx-6gv6-3jcp"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/48564?format=api",
                    "purl": "pkg:pypi/products-isurlinportal@2.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products-isurlinportal@2.1.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/48565?format=api",
                    "purl": "pkg:pypi/products-isurlinportal@3.1.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products-isurlinportal@3.1.0"
                }
            ],
            "aliases": [
                "CVE-2026-28413",
                "GHSA-43gx-6gv6-3jcp",
                "PYSEC-2026-112"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dfbt-ru39-auag"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35831?format=api",
            "vulnerability_id": "VCID-pzqe-9by1-eqgt",
            "summary": "Products.isurlinportal is a replacement for isURLInPortal method in Plone. Versions of Products.isurlinportal prior to 1.2.0 have an Open Redirect vulnerability. Various parts of Plone use the 'is url in portal' check for security, mostly to see if it is safe to redirect to a url. A url like `https://example.org` is not in the portal. The url `https:example.org` without slashes is considered to be in the portal. When redirecting, some browsers go to `https://example.org`, others give an error. Attackers may use this to redirect victims to their site, especially as part of a phishing attack. The problem has been patched in Products.isurlinportal 1.2.0.",
            "references": [
                {
                    "reference_url": "http://jvn.jp/en/jp/JVN50804280/index.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://jvn.jp/en/jp/JVN50804280/index.html"
                },
                {
                    "reference_url": "https://github.com/plone/Products.isurlinportal",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.isurlinportal"
                },
                {
                    "reference_url": "https://github.com/plone/Products.isurlinportal/commit/d4fd34990d18adf05a10dc5e2bb4b066798280ba",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.isurlinportal/commit/d4fd34990d18adf05a10dc5e2bb4b066798280ba"
                },
                {
                    "reference_url": "https://github.com/plone/Products.isurlinportal/security/advisories/GHSA-q3m9-9fj2-mfwr",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/plone/Products.isurlinportal/security/advisories/GHSA-q3m9-9fj2-mfwr"
                },
                {
                    "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/products-isurlinportal/PYSEC-2021-323.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/pypa/advisory-database/tree/main/vulns/products-isurlinportal/PYSEC-2021-323.yaml"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32806",
                    "reference_id": "CVE-2021-32806",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32806"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-q3m9-9fj2-mfwr",
                    "reference_id": "GHSA-q3m9-9fj2-mfwr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-q3m9-9fj2-mfwr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/22893?format=api",
                    "purl": "pkg:pypi/products-isurlinportal@1.2.0",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-dfbt-ru39-auag"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products-isurlinportal@1.2.0"
                }
            ],
            "aliases": [
                "CVE-2021-32806",
                "GHSA-q3m9-9fj2-mfwr",
                "PYSEC-2021-323"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-pzqe-9by1-eqgt"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/products-isurlinportal@1.0.0"
}