Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40596?format=api",
    "vulnerability_id": "VCID-hbhg-1exc-kbfy",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nIn Bootstrap, XSS is possible in the affix configuration target property.",
    "aliases": [
        {
            "alias": "CVE-2018-20677"
        },
        {
            "alias": "GHSA-ph58-4vrj-w6hr"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56432?format=api",
            "purl": "pkg:composer/twbs/bootstrap@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/twbs/bootstrap@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57325?format=api",
            "purl": "pkg:gem/bootstrap@4.0.0.alpha1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap@4.0.0.alpha1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56447?format=api",
            "purl": "pkg:gem/bootstrap-sass@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap-sass@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56438?format=api",
            "purl": "pkg:maven/org.webjars/bootstrap@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.webjars/bootstrap@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56105?format=api",
            "purl": "pkg:npm/bootstrap@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56440?format=api",
            "purl": "pkg:npm/bootstrap-sass@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap-sass@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56442?format=api",
            "purl": "pkg:nuget/bootstrap@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/bootstrap@3.4.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56115?format=api",
            "purl": "pkg:nuget/Bootstrap.Less@3.4.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/Bootstrap.Less@3.4.0"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHBA-2019:1076",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHBA-2019:1076"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHBA-2019:1570",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHBA-2019:1570"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:1456",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2019:1456"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:3023",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2019:3023"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2020:0132",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2020:0132"
        },
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2020:0133",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2020:0133"
        },
        {
            "reference_url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0"
        },
        {
            "reference_url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://blog.getbootstrap.com/2018/12/13/bootstrap-3-4-0/"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/issues/27045",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/27045"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452140906"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/27915#issuecomment-452196628"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/pull/27047",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/pull/27047"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20677",
            "reference_id": "CVE-2018-20677",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-20677"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20677.yml",
            "reference_id": "CVE-2018-20677.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-20677.yml"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20677.yml",
            "reference_id": "CVE-2018-20677.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-20677.yml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ph58-4vrj-w6hr",
            "reference_id": "GHSA-ph58-4vrj-w6hr",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-ph58-4vrj-w6hr"
        }
    ],
    "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": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hbhg-1exc-kbfy"
}