Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/62236?format=api",
    "vulnerability_id": "VCID-5t87-78k1-fqgs",
    "summary": "python: Python: Cross-Site Scripting (XSS) vulnerability in http.cookies module",
    "aliases": [
        {
            "alias": "CVE-2026-6019"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125596?format=api",
            "purl": "pkg:deb/debian/python3.13@3.13.5-2%2Bdeb13u2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python3.13@3.13.5-2%252Bdeb13u2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125644?format=api",
            "purl": "pkg:deb/debian/python3.14@3.14.5~rc1-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python3.14@3.14.5~rc1-1%3Fdistro=sid"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125633?format=api",
            "purl": "pkg:deb/debian/python3.14@3.14.5-1?distro=sid",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python3.14@3.14.5-1%3Fdistro=sid"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/125594?format=api",
            "purl": "pkg:deb/debian/python3.13@3.13.12-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1phs-gdqv-aqhn"
                },
                {
                    "vulnerability": "VCID-262j-g5yh-euax"
                },
                {
                    "vulnerability": "VCID-3mn9-s4re-hbec"
                },
                {
                    "vulnerability": "VCID-5t87-78k1-fqgs"
                },
                {
                    "vulnerability": "VCID-7qrv-e7ht-1qes"
                },
                {
                    "vulnerability": "VCID-9ajr-xqnr-c7b6"
                },
                {
                    "vulnerability": "VCID-a1vu-92sw-xfbf"
                },
                {
                    "vulnerability": "VCID-bkbu-qm48-qfg7"
                },
                {
                    "vulnerability": "VCID-kvmn-b9vh-dfhv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python3.13@3.13.12-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/195386?format=api",
            "purl": "pkg:deb/debian/python3.13@3.13.12-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1phs-gdqv-aqhn"
                },
                {
                    "vulnerability": "VCID-262j-g5yh-euax"
                },
                {
                    "vulnerability": "VCID-3mn9-s4re-hbec"
                },
                {
                    "vulnerability": "VCID-5t87-78k1-fqgs"
                },
                {
                    "vulnerability": "VCID-7qrv-e7ht-1qes"
                },
                {
                    "vulnerability": "VCID-9ajr-xqnr-c7b6"
                },
                {
                    "vulnerability": "VCID-a1vu-92sw-xfbf"
                },
                {
                    "vulnerability": "VCID-bkbu-qm48-qfg7"
                },
                {
                    "vulnerability": "VCID-kvmn-b9vh-dfhv"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python3.13@3.13.12-1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-6019.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.8",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-6019.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-6019",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00063",
                    "scoring_system": "epss",
                    "scoring_elements": "0.19808",
                    "published_at": "2026-06-05T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24105",
                    "published_at": "2026-06-09T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24211",
                    "published_at": "2026-06-06T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24156",
                    "published_at": "2026-06-07T12:55:00Z"
                },
                {
                    "value": "0.00082",
                    "scoring_system": "epss",
                    "scoring_elements": "0.24097",
                    "published_at": "2026-06-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-6019"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-6019",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-6019"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "3.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135116",
            "reference_id": "1135116",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1135116"
        },
        {
            "reference_url": "https://github.com/python/cpython/pull/148848",
            "reference_id": "148848",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-22T20:02:17Z/"
                }
            ],
            "url": "https://github.com/python/cpython/pull/148848"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460869",
            "reference_id": "2460869",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2460869"
        },
        {
            "reference_url": "https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c",
            "reference_id": "3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-22T20:02:17Z/"
                }
            ],
            "url": "https://github.com/python/cpython/commit/3c59b8b53fc75c7f9578d16fb8201ceb43e8f76c"
        },
        {
            "reference_url": "https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104",
            "reference_id": "76b3923d688c0efc580658476c5f525ec8735104",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-22T20:02:17Z/"
                }
            ],
            "url": "https://github.com/python/cpython/commit/76b3923d688c0efc580658476c5f525ec8735104"
        },
        {
            "reference_url": "https://github.com/python/cpython/issues/90309",
            "reference_id": "90309",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-22T20:02:17Z/"
                }
            ],
            "url": "https://github.com/python/cpython/issues/90309"
        },
        {
            "reference_url": "https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8",
            "reference_id": "f795e042043dfe26c42e1971d4502c1cdc4c65b8",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-22T20:02:17Z/"
                }
            ],
            "url": "https://github.com/python/cpython/commit/f795e042043dfe26c42e1971d4502c1cdc4c65b8"
        },
        {
            "reference_url": "https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/",
            "reference_id": "IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3",
            "reference_type": "",
            "scores": [
                {
                    "value": "2.1",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
                },
                {
                    "value": "Track",
                    "scoring_system": "ssvc",
                    "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-04-22T20:02:17Z/"
                }
            ],
            "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/IVNWGV2BBNC3RHQAFS22UP4DY56SAXX3/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 79,
            "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')",
            "description": "The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users."
        },
        {
            "cwe_id": 150,
            "name": "Improper Neutralization of Escape, Meta, or Control Sequences",
            "description": "The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": "2.1 - 6.8",
    "exploitability": "0.5",
    "weighted_severity": "6.1",
    "risk_score": 3.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-5t87-78k1-fqgs"
}