Miggo Logo

CVE-2024-6531: Bootstrap Cross-Site Scripting (XSS) vulnerability

6.4

CVSS Score
3.1

Basic Information

EPSS Score
0.2095%
Published
7/11/2024
Updated
9/6/2024
KEV Status
No
Technology
TechnologyJavaScript

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:L/A:L
Package NameEcosystemVulnerable VersionsFirst Patched Version
bootstrapnpm>= 4.0.0, <= 4.6.25.0.0
bootstraprubygems>= 4.0.0, <= 4.6.25.0.0
bootstrapnuget>= 4.0.0, <= 4.6.25.0.0
bootstrap.sassnuget>= 4.0.0, <= 4.6.25.0.0
twbs/bootstrapcomposer>= 4.0.0, <= 4.6.25.0.0
org.webjars:bootstrapmaven>= 4.0.0, <= 4.6.25.0.0
org.webjars.npm:bootstrapmaven>= 4.0.0, <= 4.6.25.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper handling of href attributes in carousel controls. The Carousel component's JavaScript logic processes navigation targets by reading href values when data-target is absent, without adequate sanitization. The _getTarget function is directly responsible for extracting target identifiers, while _jQueryInterface manages event binding - both critical points where unsanitized href values could be executed as JavaScript. This matches the advisory's description of XSS via data-slide attributes and href exploitation.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

* vuln*r**ility **s ***n i**nti*i** in *ootstr*p t**t *xpos*s us*rs to *ross-Sit* S*riptin* (XSS) *tt**ks. T** issu* is pr*s*nt in t** **rous*l *ompon*nt, w**r* t** **t*-sli** *n* **t*-sli**-to *ttri*ut*s **n ** *xploit** t*rou** t** *r** *ttri*ut* o

Reasoning

T** vuln*r**ility st*ms *rom improp*r **n*lin* o* *r** *ttri*ut*s in **rous*l *ontrols. T** **rous*l *ompon*nt's J*v*S*ript lo*i* pro**ss*s n*vi**tion t*r**ts *y r***in* *r** v*lu*s w**n **t*-t*r**t is **s*nt, wit*out ***qu*t* s*nitiz*tion. T** _**tT