Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-14040

In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-14040
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:26 UTC · Revision 1

Source evidence

CVE-2018-14040

core-osv · Original source

Published 13 Jul 2018, 14:29 UTC

In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.

osv:CVE-2018-14040
Complete source record
{
  "id": "1c5b596e0b36e1c19bd02fb43ed96fa72171b3da5c00f5edf276b6d98a9c14ba",
  "url": "https://osv.dev/vulnerability/CVE-2018-14040",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-14040",
    "summary": "In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.",
    "evidence": "osv:CVE-2018-14040",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-14040",
      "aliases": [
        "CVE-2018-14040",
        "GHSA-3wqf-4x89-9g79"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/twbs/bootstrap",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "4c547f2175b9a05aa43551f6927da83fe249ce42"
                },
                {
                  "introduced": "8a628b943cf31ca0a002c08af661a95772480225"
                },
                {
                  "fixed": "1f46337a89ed21c94a7c37bc0c0e14a71fef7d97"
                },
                {
                  "introduced": "980d8ea2d828fe1796a423f80d84d526b0252a89"
                },
                {
                  "last_affected": "35f80bb12e4e71fd777ee60ffa43711d8f84b1a6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.4.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-alpha"
                      },
                      {
                        "last_affected": "4.0.0-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-beta"
                      },
                      {
                        "last_affected": "4.0.0-beta"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0-alpha",
            "4.0.0-beta",
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v4.0.0-beta",
            "v3.3.7",
            "v4.0.0-alpha.3",
            "v4.0.0-alpha.2",
            "v3.3.6",
            "v4.0.0-alpha",
            "v3.3.5",
            "v3.3.4",
            "v3.3.2",
            "v3.3.1",
            "v3.3.0",
            "v3.2.0",
            "v3.0.3",
            "v3.0.1",
            "v3.0.2",
            "v3.0.0-rc1",
            "v2.1.0",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-14040.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:19.116297984Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f%40%3Cdev.drill.apache.org%3E",
        "https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e%40%3Cdev.superset.apache.org%3E",
        "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442%40%3Cdev.drill.apache.org%3E",
        "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc%40%3Cissues.drill.apache.org%3E",
        "https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714%40%3Cissues.hbase.apache.org%3E",
        "https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26%40%3Ccommits.pulsar.apache.org%3E",
        "https://seclists.org/bugtraq/2019/May/18",
        "https://www.oracle.com/security-alerts/cpuApr2021.html",
        "https://www.tenable.com/security/tns-2021-14",
        "https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/",
        "https://lists.debian.org/debian-lts-announce/2018/08/msg00027.html",
        "https://github.com/twbs/bootstrap/issues/26423",
        "https://github.com/twbs/bootstrap/issues/26625",
        "https://github.com/twbs/bootstrap/pull/26630"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha2:*:*:*:*:*:*",
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha3:*:*:*:*:*:*",
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha4:*:*:*:*:*:*",
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha5:*:*:*:*:*:*",
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:alpha6:*:*:*:*:*:*",
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta2:*:*:*:*:*:*",
              "cpe:2.3:a:getbootstrap:bootstrap:4.0.0:beta3:*:*:*:*:*:*"
            ],
            "vendor_product": "getbootstrap:bootstrap",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "4.0.0-alpha2"
                  },
                  {
                    "last_affected": "4.0.0-alpha2"
                  },
                  {
                    "introduced": "4.0.0-alpha3"
                  },
                  {
                    "last_affected": "4.0.0-alpha3"
                  },
                  {
                    "introduced": "4.0.0-alpha4"
                  },
                  {
                    "last_affected": "4.0.0-alpha4"
                  },
                  {
                    "introduced": "4.0.0-alpha5"
                  },
                  {
                    "last_affected": "4.0.0-alpha5"
                  },
                  {
                    "introduced": "4.0.0-alpha6"
                  },
                  {
                    "last_affected": "4.0.0-alpha6"
                  },
                  {
                    "introduced": "4.0.0-beta2"
                  },
                  {
                    "last_affected": "4.0.0-beta2"
                  },
                  {
                    "introduced": "4.0.0-beta3"
                  },
                  {
                    "last_affected": "4.0.0-beta3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-14040",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381526,
  "published_at": "2018-07-13T14:29:00.213+00:00"
}