Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40092?format=api",
    "vulnerability_id": "VCID-wezb-6dbp-nfer",
    "summary": "Cross-site Scripting\nIn Bootstrap, XSS is possible in the collapse data-parent attribute.",
    "aliases": [
        {
            "alias": "CVE-2018-14040"
        },
        {
            "alias": "GHSA-3wqf-4x89-9g79"
        }
    ],
    "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/56424?format=api",
            "purl": "pkg:composer/twbs/bootstrap@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/twbs/bootstrap@4.1.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56103?format=api",
            "purl": "pkg:gem/bootstrap@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap@4.1.2"
        },
        {
            "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/56434?format=api",
            "purl": "pkg:maven/org.webjars/bootstrap@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.webjars/bootstrap@4.1.2"
        },
        {
            "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/56106?format=api",
            "purl": "pkg:npm/bootstrap@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap@4.1.2"
        },
        {
            "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/56441?format=api",
            "purl": "pkg:nuget/bootstrap@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/bootstrap@4.1.2"
        },
        {
            "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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56427?format=api",
            "purl": "pkg:nuget/bootstrap.sass@4.1.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/bootstrap.sass@4.1.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56431?format=api",
            "purl": "pkg:composer/twbs/bootstrap@2.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/twbs/bootstrap@2.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56423?format=api",
            "purl": "pkg:composer/twbs/bootstrap@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4wt8-wyvc-1uca"
                },
                {
                    "vulnerability": "VCID-7ch1-q9f4-a7bt"
                },
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/twbs/bootstrap@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56102?format=api",
            "purl": "pkg:gem/bootstrap@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ch1-q9f4-a7bt"
                },
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56446?format=api",
            "purl": "pkg:gem/bootstrap-sass@2.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/bootstrap-sass@2.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56104?format=api",
            "purl": "pkg:npm/bootstrap@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-4wt8-wyvc-1uca"
                },
                {
                    "vulnerability": "VCID-7ch1-q9f4-a7bt"
                },
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62111?format=api",
            "purl": "pkg:nuget/bootstrap@2.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/bootstrap@2.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56443?format=api",
            "purl": "pkg:nuget/bootstrap@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ch1-q9f4-a7bt"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/bootstrap@4.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56426?format=api",
            "purl": "pkg:nuget/bootstrap.sass@4.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7ch1-q9f4-a7bt"
                },
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                },
                {
                    "vulnerability": "VCID-wezb-6dbp-nfer"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/bootstrap.sass@4.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2"
        },
        {
            "reference_url": "https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/blob/v3.4.1/js/collapse.js#L140",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/blob/v3.4.1/js/collapse.js#L140"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/blob/v3.4.1/js/scrollspy.js#L56",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/blob/v3.4.1/js/scrollspy.js#L56"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/blob/v3.4.1/js/tooltip.js#L352",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/blob/v3.4.1/js/tooltip.js#L352"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/commit/149096016f70fd815540d62c0989fd99cdc809e0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/commit/149096016f70fd815540d62c0989fd99cdc809e0"
        },
        {
            "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/26423",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/26423"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/issues/26625",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/26625"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/pull/26630",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/pull/26630"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap-rubygem/commit/f34c43c936ac7d0ebb129289321d8c51cd56aed1#diff-4e736e880b7fc39eb5e85576b629f6e3cd08f02f45104a7b4581f82852e97a81R1306",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap-rubygem/commit/f34c43c936ac7d0ebb129289321d8c51cd56aed1#diff-4e736e880b7fc39eb5e85576b629f6e3cd08f02f45104a7b4581f82852e97a81R1306"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
        },
        {
            "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/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.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://lists.debian.org/debian-lts-announce/2018/08/msg00027.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.debian.org/debian-lts-announce/2018/08/msg00027.html"
        },
        {
            "reference_url": "https://seclists.org/bugtraq/2019/May/18",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://seclists.org/bugtraq/2019/May/18"
        },
        {
            "reference_url": "https://www.oracle.com/security-alerts/cpuApr2021.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.oracle.com/security-alerts/cpuApr2021.html"
        },
        {
            "reference_url": "https://www.tenable.com/security/tns-2021-14",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.tenable.com/security/tns-2021-14"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14040",
            "reference_id": "CVE-2018-14040",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14040"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14040.yml",
            "reference_id": "CVE-2018-14040.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14040.yml"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14040.yml",
            "reference_id": "CVE-2018-14040.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14040.yml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-3wqf-4x89-9g79",
            "reference_id": "GHSA-3wqf-4x89-9g79",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-3wqf-4x89-9g79"
        }
    ],
    "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-wezb-6dbp-nfer"
}