{
  "schema_version": "1.4.0",
  "id": "GHSA-p48w-vf3c-rqjx",
  "modified": "2021-04-27T19:43:14Z",
  "published": "2021-04-29T21:51:21Z",
  "aliases": [
    "CVE-2021-21365"
  ],
  "summary": "Cross-Site Scripting in Bootstrap Package",
  "details": "### Problem\nIt has been discovered that rendering content in the website frontend is vulnerable to cross-site scripting. A valid backend user account is needed to exploit this vulnerability.\n\nThe following templates are affected by the vulnerability:\n\n* `Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html`\n* `Resources/Private/Partials/ContentElements/Carousel/Item/Header.html`\n* `Resources/Private/Partials/ContentElements/Carousel/Item/Text.html`\n* `Resources/Private/Partials/ContentElements/Carousel/Item/TextAndImage.html`\n* `Resources/Private/Partials/ContentElements/Header/SubHeader.html`\n\nUsers of the extension, who have overwritten  the affected templates with custom code must manually apply the security fix as shown in [this Git commit](https://github.com/benjaminkott/bootstrap_package/commit/de3a568fc311d6712d9339643e51e8627c80530b).\n\n### Solution\nUpdate to version 7.1.2, 8.0.8, 9.0.4, 9.1.3, 10.0.10 or 11.0.3 of the Bootstrap Package that fix the problem described.\n\nUpdated version are available from the TYPO3 extension manager, Packagist and at https://extensions.typo3.org/extension/download/bootstrap_package/.\n\n### Credits\nThanks to TYPO3 security team member Oliver Hader who reported and fixed the issue.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "bk2k/bootstrap-package"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "7.1.0"
            },
            {
              "fixed": "7.1.2"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "bk2k/bootstrap-package"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "8.0.0"
            },
            {
              "fixed": "8.0.8"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "bk2k/bootstrap-package"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "9.0.0"
            },
            {
              "fixed": "9.0.4"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "bk2k/bootstrap-package"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "9.1.0"
            },
            {
              "fixed": "9.1.3"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "bk2k/bootstrap-package"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "10.0.0"
            },
            {
              "fixed": "10.0.10"
            }
          ]
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Packagist",
        "name": "bk2k/bootstrap-package"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "11.0.0"
            },
            {
              "fixed": "11.0.3"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/benjaminkott/bootstrap_package/security/advisories/GHSA-p48w-vf3c-rqjx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-21365"
    },
    {
      "type": "WEB",
      "url": "https://github.com/benjaminkott/bootstrap_package/commit/de3a568fc311d6712d9339643e51e8627c80530b"
    },
    {
      "type": "WEB",
      "url": "https://typo3.org/security/advisory/typo3-ext-sa-2021-007"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-04-27T19:43:14Z",
    "nvd_published_at": "2021-04-27T20:15:00Z"
  }
}