Bootstrap Cross-site Scripting vulnerability
The advisory, in context
In Bootstrap starting in version 2.3.0 and prior to versions 3.4.0 and 4.1.2, XSS is possible in the data-container property of tooltip. This is similar to CVE-2018-14041.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 4.0.0 before 4.1.2
Fixed in 4.1.2
3 explicitly affected versions
4.0.0, 4.1.0, 4.1.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.0",
"4.1.0",
"4.1.1"
]
}From 2.3.0 before 3.4.0
Fixed in 3.4.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "3.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 4.0.0 before 4.1.2
Fixed in 4.1.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"type": "SEMVER"
}
],
"versions": []
}From 2.3.0 before 3.4.0
Fixed in 3.4.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "3.4.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}From 4.0.0 before 4.1.2
Fixed in 4.1.2
5 explicitly affected versions
4.0.0, 4.0.0-1, 4.0.0-2, 4.1.0, 4.1.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.0",
"4.0.0-1",
"4.0.0-2",
"4.1.0",
"4.1.1"
]
}From 2.3.0 before 3.4.0
Fixed in 3.4.0
27 explicitly affected versions
2.3.0, 2.3.1, 2.3.1-1, 2.3.2, 3.0.0, 3.0.0-rc.2, 3.0.0-rc1, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.1.1-1, 3.1.1-2, 3.2.0, 3.2.0-1, 3.2.0-2, 3.3.0, 3.3.1, 3.3.2, 3.3.2-1, 3.3.2-2, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.7-1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "3.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.0",
"2.3.1",
"2.3.1-1",
"2.3.2",
"3.0.0",
"3.0.0-rc.2",
"3.0.0-rc1",
"3.0.1",
"3.0.2",
"3.0.3",
"3.1.0",
"3.1.1",
"3.1.1-1",
"3.1.1-2",
"3.2.0",
"3.2.0-1",
"3.2.0-2",
"3.3.0",
"3.3.1",
"3.3.2",
"3.3.2-1",
"3.3.2-2",
"3.3.4",
"3.3.5",
"3.3.6",
"3.3.7",
"3.3.7-1"
]
}From 4.0.0 before 4.1.2
Fixed in 4.1.2
3 explicitly affected versions
v4.0.0, v4.1.0, v4.1.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v4.0.0",
"v4.1.0",
"v4.1.1"
]
}From 2.3.0 before 3.4.0
Fixed in 3.4.0
19 explicitly affected versions
v2.3.0, v2.3.1, v2.3.2, v3.0.0, v3.0.0-rc.2, v3.0.0-rc1, v3.0.1, v3.0.2, v3.0.3, v3.1.0, v3.1.1, v3.2.0, v3.3.0, v3.3.1, v3.3.2, v3.3.4, v3.3.5, v3.3.6, v3.3.7
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "3.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.3.0",
"v2.3.1",
"v2.3.2",
"v3.0.0",
"v3.0.0-rc.2",
"v3.0.0-rc1",
"v3.0.1",
"v3.0.2",
"v3.0.3",
"v3.1.0",
"v3.1.1",
"v3.2.0",
"v3.3.0",
"v3.3.1",
"v3.3.2",
"v3.3.4",
"v3.3.5",
"v3.3.6",
"v3.3.7"
]
}From 4.0.0 before 4.1.2
Fixed in 4.1.2
4 explicitly affected versions
4.0.0, 4.1.0, 4.1.1, 4.1.1-contentFiles
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.0",
"4.1.0",
"4.1.1",
"4.1.1-contentFiles"
]
}From 2.3.0 before 3.4.0
Fixed in 3.4.0
18 explicitly affected versions
2.3.1, 2.3.2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.3.4, 3.3.5, 3.3.6, 3.3.6-jQuery3, 3.3.6.1, 3.3.7
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "3.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.1",
"2.3.2",
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.1.0",
"3.1.1",
"3.2.0",
"3.3.0",
"3.3.1",
"3.3.2",
"3.3.4",
"3.3.5",
"3.3.6",
"3.3.6-jQuery3",
"3.3.6.1",
"3.3.7"
]
}From 2.3.0 before 3.4.0
Fixed in 3.4.0
33 explicitly affected versions
2.3.0.0, 2.3.0.1, 2.3.1.0, 2.3.1.2, 2.3.1.3, 2.3.2.0, 2.3.2.1, 2.3.2.2, 3.0.0.0, 3.0.0.0.rc, 3.0.0.0.rc2, 3.0.1.0, 3.0.1.0.rc, 3.0.2.0, 3.0.2.1, 3.0.3.0, 3.1.0.0, 3.1.0.1, 3.1.0.2, 3.1.1.0, 3.1.1.1, 3.2.0.4, 3.3.0.0, 3.3.0.1, 3.3.1.0, 3.3.2.0, 3.3.2.1, 3.3.3, 3.3.4.1, 3.3.5, 3.3.5.1, 3.3.6, 3.3.7
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "3.4.0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.0.0",
"2.3.0.1",
"2.3.1.0",
"2.3.1.2",
"2.3.1.3",
"2.3.2.0",
"2.3.2.1",
"2.3.2.2",
"3.0.0.0",
"3.0.0.0.rc",
"3.0.0.0.rc2",
"3.0.1.0",
"3.0.1.0.rc",
"3.0.2.0",
"3.0.2.1",
"3.0.3.0",
"3.1.0.0",
"3.1.0.1",
"3.1.0.2",
"3.1.1.0",
"3.1.1.1",
"3.2.0.4",
"3.3.0.0",
"3.3.0.1",
"3.3.1.0",
"3.3.2.0",
"3.3.2.1",
"3.3.3",
"3.3.4.1",
"3.3.5",
"3.3.5.1",
"3.3.6",
"3.3.7"
]
}From 2.0.4 before 3.4.0
Fixed in 3.4.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.4"
},
{
"fixed": "3.4.0"
}
],
"type": "SEMVER"
}
],
"versions": []
}From 4.0.0 before 4.1.2
Fixed in 4.1.2
4 explicitly affected versions
4.0.0, 4.1.0, 4.1.1, 4.1.1-contentFiles
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"4.0.0",
"4.1.0",
"4.1.1",
"4.1.1-contentFiles"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2018-14042
- https://github.com/twbs/bootstrap/issues/26423
- https://github.com/twbs/bootstrap/issues/26428
- https://github.com/twbs/bootstrap/issues/26628
- https://github.com/twbs/bootstrap/pull/26630
- https://github.com/twbs/bootstrap/commit/2a5ba23ce8f041f3548317acc992ed8a736b609d
- https://github.com/twbs/bootstrap/commit/2d90d369bbc2bd2647620246c55cec8c4705e3d0
- https://www.tenable.com/security/tns-2021-14
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://seclists.org/bugtraq/2019/May/18
- https://lists.apache.org/thread.html/rd0e44e8ef71eeaaa3cf3d1b8b41eb25894372e2995ec908ce7624d26@%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/r3dc0cac8d856bca02bd6997355d7ff83027dcfc82f8646a29b89b714@%3Cissues.hbase.apache.org%3E
- https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E
- https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E
- https://lists.apache.org/thread.html/52e0e6b5df827ee7f1e68f7cc3babe61af3b2160f5d74a85469b7b0e@%3Cdev.superset.apache.org%3E
- https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E
- https://github.com/twbs/bootstrap
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap/CVE-2018-14042.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/bootstrap-sass/CVE-2018-14042.yml
- https://github.com/advisories/GHSA-7mvr-5x2g-wfc8
- https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2
- http://packetstormsecurity.com/files/156743/OctoberCMS-Insecure-Dependencies.html
- http://seclists.org/fulldisclosure/2019/May/10
- http://seclists.org/fulldisclosure/2019/May/11
- http://seclists.org/fulldisclosure/2019/May/13