{"id":"CVE-2024-6485","state":"PUBLISHED","title":"XSS in Bootstrap button component","description":"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.","publishedAt":"2024-07-11T17:08:08.224Z","updatedAt":"2025-11-03T19:34:34.709Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L","source":"HeroDevs"},"assigner":"HeroDevs","products":["Bootstrap Bootstrap","Bootstrap-sass bootstrap-sass"],"affected":[{"vendor":"Bootstrap","product":"Bootstrap","defaultStatus":"unaffected","versions":[{"version":"1.4.0","status":"affected","lessThanOrEqual":"3.4.1","versionType":"semver"}]},{"vendor":"Bootstrap-sass","product":"bootstrap-sass","defaultStatus":"unaffected","versions":[{"version":"2.3.2","status":"affected","lessThanOrEqual":"3.4.3","versionType":"semver"}]}],"references":["https://www.herodevs.com/vulnerability-directory/cve-2024-6485","https://lists.debian.org/debian-lts-announce/2025/04/msg00020.html"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6485.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-6485","state":"PUBLISHED","datePublished":"2024-07-11T17:08:08.224Z","dateUpdated":"2025-11-03T19:34:34.709Z","assignerShortName":"HeroDevs","assignerOrgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","dateReserved":"2024-07-03T16:54:39.173Z"},"containers":{"cna":{"title":"XSS in Bootstrap button component","descriptions":[{"lang":"en","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."}],"affected":[{"vendor":"Bootstrap","product":"Bootstrap","defaultStatus":"unaffected","versions":[{"version":"1.4.0","status":"affected","lessThanOrEqual":"3.4.1","versionType":"semver"}]},{"vendor":"Bootstrap-sass","product":"bootstrap-sass","defaultStatus":"unaffected","versions":[{"version":"2.3.2","status":"affected","lessThanOrEqual":"3.4.3","versionType":"semver"}]}],"references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2024-6485"}],"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":{"shortName":"HeroDevs","orgId":"36c7be3b-2937-45df-85ea-ca7133ea542c","dateUpdated":"2025-02-24T19:15:39.832Z"},"credits":[{"lang":"en","type":"finder","value":"K"}],"impacts":[{"capecId":"CAPEC-63","descriptions":[{"lang":"en","value":"CAPEC-63 Cross-Site Scripting (XSS)"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"getbootstrap","product":"bootstrap","defaultStatus":"unknown","versions":[{"version":"2.0.0","status":"affected","lessThanOrEqual":"3.4.1","versionType":"semver"}],"cpes":["cpe:2.3:a:getbootstrap:bootstrap:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-11T18:49:37.849230Z","id":"CVE-2024-6485","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-11T20:01:02.497Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.herodevs.com/vulnerability-directory/cve-2024-6485","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/04/msg00020.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:34:34.709Z"}}]}}}