Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5649?format=api",
    "vulnerability_id": "VCID-84bg-nq2n-n3ey",
    "summary": "mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\\nscript:) or a crafted email address, related to the escape and autolink functions.",
    "aliases": [
        {
            "alias": "CVE-2017-15612"
        },
        {
            "alias": "GHSA-hpv5-v8g5-c864"
        },
        {
            "alias": "PYSEC-2017-80"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930921?format=api",
            "purl": "pkg:deb/debian/mistune@0.8-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@0.8-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1058096?format=api",
            "purl": "pkg:deb/debian/mistune@0.8.4-1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@0.8.4-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930922?format=api",
            "purl": "pkg:deb/debian/mistune@0.8.4-4?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qb4z-jzem-myee"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@0.8.4-4%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930920?format=api",
            "purl": "pkg:deb/debian/mistune@2.0.4-1?distro=trixie",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@2.0.4-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930924?format=api",
            "purl": "pkg:deb/debian/mistune@3.1.3-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kdvt-nasn-x3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@3.1.3-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/930923?format=api",
            "purl": "pkg:deb/debian/mistune@3.1.4-1?distro=trixie",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-kdvt-nasn-x3ex"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@3.1.4-1%3Fdistro=trixie"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5409?format=api",
            "purl": "pkg:pypi/mistune@0.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.8"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1058094?format=api",
            "purl": "pkg:deb/debian/mistune@0.7.3-1~bpo8%2B1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@0.7.3-1~bpo8%252B1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/1058095?format=api",
            "purl": "pkg:deb/debian/mistune@0.7.3-1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/mistune@0.7.3-1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/994227?format=api",
            "purl": "pkg:pypi/mistune@0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5395?format=api",
            "purl": "pkg:pypi/mistune@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5396?format=api",
            "purl": "pkg:pypi/mistune@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5397?format=api",
            "purl": "pkg:pypi/mistune@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5398?format=api",
            "purl": "pkg:pypi/mistune@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5399?format=api",
            "purl": "pkg:pypi/mistune@0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5400?format=api",
            "purl": "pkg:pypi/mistune@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5401?format=api",
            "purl": "pkg:pypi/mistune@0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5402?format=api",
            "purl": "pkg:pypi/mistune@0.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5403?format=api",
            "purl": "pkg:pypi/mistune@0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5404?format=api",
            "purl": "pkg:pypi/mistune@0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5405?format=api",
            "purl": "pkg:pypi/mistune@0.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5406?format=api",
            "purl": "pkg:pypi/mistune@0.7.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5407?format=api",
            "purl": "pkg:pypi/mistune@0.7.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/5408?format=api",
            "purl": "pkg:pypi/mistune@0.7.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-3p1d-tfde-6khg"
                },
                {
                    "vulnerability": "VCID-84bg-nq2n-n3ey"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.4"
        }
    ],
    "references": [
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15612",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30512",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29956",
                    "published_at": "2026-05-07T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.29886",
                    "published_at": "2026-05-05T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30023",
                    "published_at": "2026-04-29T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30101",
                    "published_at": "2026-04-26T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30217",
                    "published_at": "2026-04-24T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30279",
                    "published_at": "2026-04-21T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30323",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30324",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30342",
                    "published_at": "2026-04-16T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30326",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30374",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30438",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30418",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30416",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30465",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.00116",
                    "scoring_system": "epss",
                    "scoring_elements": "0.30382",
                    "published_at": "2026-04-08T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-15612"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15612",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15612"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-hpv5-v8g5-c864",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-hpv5-v8g5-c864"
        },
        {
            "reference_url": "https://github.com/lepture/mistune",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/lepture/mistune"
        },
        {
            "reference_url": "https://github.com/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/lepture/mistune/commit/d6f0b6402299bf5a380e7b4e77bd80e8736630fe"
        },
        {
            "reference_url": "https://github.com/lepture/mistune/pull/140",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/lepture/mistune/pull/140"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-80.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-80.yaml"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879098",
            "reference_id": "879098",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879098"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mistune_project:mistune:0.7.4:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:mistune_project:mistune:0.7.4:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:mistune_project:mistune:0.7.4:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15612",
            "reference_id": "CVE-2017-15612",
            "reference_type": "",
            "scores": [
                {
                    "value": "4.3",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:M/Au:N/C:N/I:P/A:N"
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "6.1",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-15612"
        }
    ],
    "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": 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": 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": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-84bg-nq2n-n3ey"
}