Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35157?format=api",
    "vulnerability_id": "VCID-6qv4-1d5y-pfdb",
    "summary": "Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the \"key\" argument.",
    "aliases": [
        {
            "alias": "CVE-2017-16876"
        },
        {
            "alias": "GHSA-98gj-wwxm-cj3h"
        },
        {
            "alias": "PYSEC-2017-18"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10584?format=api",
            "purl": "pkg:pypi/mistune@0.8.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.8.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10348?format=api",
            "purl": "pkg:pypi/mistune@0.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10349?format=api",
            "purl": "pkg:pypi/mistune@0.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10350?format=api",
            "purl": "pkg:pypi/mistune@0.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10351?format=api",
            "purl": "pkg:pypi/mistune@0.3.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.3.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10352?format=api",
            "purl": "pkg:pypi/mistune@0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10353?format=api",
            "purl": "pkg:pypi/mistune@0.4.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.4.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10354?format=api",
            "purl": "pkg:pypi/mistune@0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10355?format=api",
            "purl": "pkg:pypi/mistune@0.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.5.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10356?format=api",
            "purl": "pkg:pypi/mistune@0.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10357?format=api",
            "purl": "pkg:pypi/mistune@0.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10358?format=api",
            "purl": "pkg:pypi/mistune@0.7.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10359?format=api",
            "purl": "pkg:pypi/mistune@0.7.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10360?format=api",
            "purl": "pkg:pypi/mistune@0.7.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10361?format=api",
            "purl": "pkg:pypi/mistune@0.7.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5qkf-gk57-v3gt"
                },
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.7.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/10362?format=api",
            "purl": "pkg:pypi/mistune@0.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6qv4-1d5y-pfdb"
                },
                {
                    "vulnerability": "VCID-f9u2-brma-sfba"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mistune@0.8"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1524596",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1524596"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-98gj-wwxm-cj3h",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-98gj-wwxm-cj3h"
        },
        {
            "reference_url": "https://github.com/lepture/mistune",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/lepture/mistune"
        },
        {
            "reference_url": "https://github.com/lepture/mistune/blob/master/CHANGES.rst",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/lepture/mistune/blob/master/CHANGES.rst"
        },
        {
            "reference_url": "https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98"
        },
        {
            "reference_url": "https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/pypa/advisory-database/tree/main/vulns/mistune/PYSEC-2017-18.yaml"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC"
        },
        {
            "reference_url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16876",
            "reference_id": "CVE-2017-16876",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-16876"
        }
    ],
    "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": 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."
        },
        {
            "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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-6qv4-1d5y-pfdb"
}