Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5695?format=api",
    "vulnerability_id": "VCID-7ae6-tssy-h7h4",
    "summary": "An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.",
    "aliases": [
        {
            "alias": "CVE-2018-7753"
        },
        {
            "alias": "GHSA-m9mq-p2f9-cfqv"
        },
        {
            "alias": "PYSEC-2018-51"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936279?format=api",
            "purl": "pkg:deb/debian/python-bleach@2.1.3-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@2.1.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1037878?format=api",
            "purl": "pkg:deb/debian/python-bleach@3.1.2-0%2Bdeb10u2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@3.1.2-0%252Bdeb10u2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936280?format=api",
            "purl": "pkg:deb/debian/python-bleach@3.2.1-2.1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@3.2.1-2.1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936278?format=api",
            "purl": "pkg:deb/debian/python-bleach@5.0.1-2?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@5.0.1-2%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936282?format=api",
            "purl": "pkg:deb/debian/python-bleach@6.2.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@6.2.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/936281?format=api",
            "purl": "pkg:deb/debian/python-bleach@6.3.0-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@6.3.0-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5775?format=api",
            "purl": "pkg:pypi/bleach@2.1.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-92h1-h2vh-xyb6"
                },
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bleach@2.1.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1037876?format=api",
            "purl": "pkg:deb/debian/python-bleach@1.4-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ae6-tssy-h7h4"
                },
                {
                    "vulnerability": "VCID-92h1-h2vh-xyb6"
                },
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@1.4-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1037877?format=api",
            "purl": "pkg:deb/debian/python-bleach@2.0-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ae6-tssy-h7h4"
                },
                {
                    "vulnerability": "VCID-92h1-h2vh-xyb6"
                },
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/python-bleach@2.0-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5772?format=api",
            "purl": "pkg:pypi/bleach@2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ae6-tssy-h7h4"
                },
                {
                    "vulnerability": "VCID-92h1-h2vh-xyb6"
                },
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bleach@2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/142075?format=api",
            "purl": "pkg:pypi/bleach@2.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ae6-tssy-h7h4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bleach@2.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5773?format=api",
            "purl": "pkg:pypi/bleach@2.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ae6-tssy-h7h4"
                },
                {
                    "vulnerability": "VCID-92h1-h2vh-xyb6"
                },
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bleach@2.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5774?format=api",
            "purl": "pkg:pypi/bleach@2.1.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ae6-tssy-h7h4"
                },
                {
                    "vulnerability": "VCID-92h1-h2vh-xyb6"
                },
                {
                    "vulnerability": "VCID-cthk-b1bv-xfbk"
                },
                {
                    "vulnerability": "VCID-kxh2-721e-tyh2"
                },
                {
                    "vulnerability": "VCID-mqaz-y2xw-sya2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/bleach@2.1.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7753",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66634",
                    "published_at": "2026-05-14T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66405",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66431",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66401",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.6645",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66464",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66483",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66471",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66441",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66475",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66493",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66478",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66501",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66516",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66518",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66491",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66536",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66579",
                    "published_at": "2026-05-09T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66552",
                    "published_at": "2026-05-11T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66573",
                    "published_at": "2026-05-12T12:55:00Z"
                },
                {
                    "value": "0.00511",
                    "scoring_system": "epss",
                    "scoring_elements": "0.66366",
                    "published_at": "2026-04-01T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-7753"
        },
        {
            "reference_url": "https://bugs.debian.org/892252",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugs.debian.org/892252"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7753",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7753"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-m9mq-p2f9-cfqv",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "CRITICAL",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-m9mq-p2f9-cfqv"
        },
        {
            "reference_url": "https://github.com/mozilla/bleach",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mozilla/bleach"
        },
        {
            "reference_url": "https://github.com/mozilla/bleach/commit/c5df5789ec3471a31311f42c2d19fc2cf21b35ef",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mozilla/bleach/commit/c5df5789ec3471a31311f42c2d19fc2cf21b35ef"
        },
        {
            "reference_url": "https://github.com/mozilla/bleach/releases/tag/v2.1.3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/mozilla/bleach/releases/tag/v2.1.3"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2018-51.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2018-51.yaml"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892252",
            "reference_id": "892252",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892252"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7753",
            "reference_id": "CVE-2018-7753",
            "reference_type": "",
            "scores": [
                {
                    "value": "9.8",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                },
                {
                    "value": "9.3",
                    "scoring_system": "cvssv4",
                    "scoring_elements": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
                },
                {
                    "value": "CRITICAL",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7753"
        },
        {
            "reference_url": "https://usn.ubuntu.com/8077-1/",
            "reference_id": "USN-8077-1",
            "reference_type": "",
            "scores": [],
            "url": "https://usn.ubuntu.com/8077-1/"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 20,
            "name": "Improper Input Validation",
            "description": "The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": "9.0 - 10.0",
    "exploitability": "0.5",
    "weighted_severity": "9.0",
    "risk_score": 4.5,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7ae6-tssy-h7h4"
}