Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40090?format=api",
    "vulnerability_id": "VCID-vsty-6vqf-pkeg",
    "summary": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')\nIn Bootstrap, XSS is possible in the data-container property of tooltip.",
    "aliases": [
        {
            "alias": "CVE-2018-14042"
        },
        {
            "alias": "GHSA-7mvr-5x2g-wfc8"
        }
    ],
    "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/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/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/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/56439?format=api",
            "purl": "pkg:npm/bootstrap-sass@2.0.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r4qe-549h-nfh1"
                },
                {
                    "vulnerability": "VCID-vsty-6vqf-pkeg"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/bootstrap-sass@2.0.4"
        },
        {
            "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",
            "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/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0"
        },
        {
            "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/26428",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/26428"
        },
        {
            "reference_url": "https://github.com/twbs/bootstrap/issues/26628",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/twbs/bootstrap/issues/26628"
        },
        {
            "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://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://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-14042",
            "reference_id": "CVE-2018-14042",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-14042"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml",
            "reference_id": "CVE-2018-14042.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml"
        },
        {
            "reference_url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml",
            "reference_id": "CVE-2018-14042.YML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-7mvr-5x2g-wfc8",
            "reference_id": "GHSA-7mvr-5x2g-wfc8",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-7mvr-5x2g-wfc8"
        }
    ],
    "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-vsty-6vqf-pkeg"
}