Vulnerabilites related to Bootstrap-sass - bootstrap-sass
cve-2024-6485
Vulnerability from cvelistv5
Published
2024-07-11 17:08
Modified
2025-02-24 19:15
Summary
A security vulnerability has been discovered in bootstrap that could enable Cross-Site Scripting (XSS) attacks. The vulnerability is associated with the data-loading-text attribute within the button plugin. This vulnerability can be exploited by injecting malicious JavaScript code into the attribute, which would then be executed when the button's loading state is triggered.
Impacted products
Vendor Product Version
Bootstrap Bootstrap Version: 1.4.0    3.4.1
Create a notification for this product.
   Bootstrap-sass bootstrap-sass Version: 2.3.2    3.4.3
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            affected: [
               {
                  cpes: [
                     "cpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:*",
                  ],
                  defaultStatus: "unknown",
                  product: "bootstrap",
                  vendor: "getbootstrap",
                  versions: [
                     {
                        lessThanOrEqual: "3.4.1",
                        status: "affected",
                        version: "2.0.0",
                        versionType: "semver",
                     },
                  ],
               },
            ],
            metrics: [
               {
                  other: {
                     content: {
                        id: "CVE-2024-6485",
                        options: [
                           {
                              Exploitation: "poc",
                           },
                           {
                              Automatable: "no",
                           },
                           {
                              "Technical Impact": "partial",
                           },
                        ],
                        role: "CISA Coordinator",
                        timestamp: "2024-07-11T18:49:37.849230Z",
                        version: "2.0.3",
                     },
                     type: "ssvc",
                  },
               },
            ],
            providerMetadata: {
               dateUpdated: "2024-07-11T20:01:02.497Z",
               orgId: "134c704f-9b21-4f2e-91b3-4a467353bcc0",
               shortName: "CISA-ADP",
            },
            title: "CISA ADP Vulnrichment",
         },
         {
            providerMetadata: {
               dateUpdated: "2024-08-01T21:41:03.397Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  tags: [
                     "x_transferred",
                  ],
                  url: "https://www.herodevs.com/vulnerability-directory/cve-2024-6485",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               defaultStatus: "unaffected",
               product: "Bootstrap",
               vendor: "Bootstrap",
               versions: [
                  {
                     lessThanOrEqual: "3.4.1",
                     status: "affected",
                     version: "1.4.0",
                     versionType: "semver",
                  },
               ],
            },
            {
               defaultStatus: "unaffected",
               product: "bootstrap-sass",
               vendor: "Bootstrap-sass",
               versions: [
                  {
                     lessThanOrEqual: "3.4.3",
                     status: "affected",
                     version: "2.3.2",
                     versionType: "semver",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               type: "finder",
               value: "K",
            },
         ],
         descriptions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "<span style=\"background-color: rgb(255, 255, 255);\">A security vulnerability has been discovered in bootstrap that could enable Cross-Site Scripting (XSS) attacks. The vulnerability is associated with the </span><code>data-loading-text</code><span style=\"background-color: rgb(255, 255, 255);\"> attribute within the </span><code>button</code><span style=\"background-color: rgb(255, 255, 255);\"> plugin. This vulnerability can be exploited by injecting malicious JavaScript code into the attribute, which would then be executed when the button's loading state is triggered.</span><br>",
                  },
               ],
               value: "A security vulnerability has been discovered in bootstrap that could enable Cross-Site Scripting (XSS) attacks. The vulnerability is associated with the data-loading-text attribute within the button plugin. This vulnerability can be exploited by injecting malicious JavaScript code into the attribute, which would then be executed when the button's loading state is triggered.",
            },
         ],
         impacts: [
            {
               capecId: "CAPEC-63",
               descriptions: [
                  {
                     lang: "en",
                     value: "CAPEC-63 Cross-Site Scripting (XSS)",
                  },
               ],
            },
         ],
         metrics: [
            {
               cvssV3_1: {
                  attackComplexity: "HIGH",
                  attackVector: "NETWORK",
                  availabilityImpact: "LOW",
                  baseScore: 6.4,
                  baseSeverity: "MEDIUM",
                  confidentialityImpact: "HIGH",
                  integrityImpact: "LOW",
                  privilegesRequired: "NONE",
                  scope: "UNCHANGED",
                  userInteraction: "REQUIRED",
                  vectorString: "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L",
                  version: "3.1",
               },
               format: "CVSS",
               scenarios: [
                  {
                     lang: "en",
                     value: "GENERAL",
                  },
               ],
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-79",
                     description: "CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-02-24T19:15:39.832Z",
            orgId: "36c7be3b-2937-45df-85ea-ca7133ea542c",
            shortName: "HeroDevs",
         },
         references: [
            {
               url: "https://www.herodevs.com/vulnerability-directory/cve-2024-6485",
            },
         ],
         source: {
            discovery: "UNKNOWN",
         },
         title: "XSS in Bootstrap button component",
         x_generator: {
            engine: "Vulnogram 0.2.0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "36c7be3b-2937-45df-85ea-ca7133ea542c",
      assignerShortName: "HeroDevs",
      cveId: "CVE-2024-6485",
      datePublished: "2024-07-11T17:08:08.224Z",
      dateReserved: "2024-07-03T16:54:39.173Z",
      dateUpdated: "2025-02-24T19:15:39.832Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
}