{"id":"UBUNTU-CVE-2018-14040","details":"In Bootstrap before 4.1.2, XSS is possible in the collapse data-parent attribute.","modified":"2025-10-24T04:47:08Z","published":"2018-07-13T14:29:00Z","upstream":["CVE-2018-14040"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-14040"},{"type":"REPORT","url":"https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/"},{"type":"REPORT","url":"https://github.com/twbs/bootstrap/issues/26423"},{"type":"REPORT","url":"https://github.com/twbs/bootstrap/issues/26625"},{"type":"REPORT","url":"https://github.com/twbs/bootstrap/pull/26630"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-14040"}],"affected":[{"package":{"name":"twitter-bootstrap","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/twitter-bootstrap@2.0.2+dfsg-9?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+dfsg-5","2.0.2+dfsg-9"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-twitter-bootstrap","binary_version":"2.0.2+dfsg-9"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14040.json"}},{"package":{"name":"twitter-bootstrap3","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/twitter-bootstrap3@3.3.6+dfsg-1ubuntu0.1~esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.5+dfsg-1","3.3.5+dfsg-2","3.3.6+dfsg-1","3.3.6+dfsg-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-bootstrap","binary_version":"3.3.6+dfsg-1ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14040.json"}},{"package":{"name":"twitter-bootstrap","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/twitter-bootstrap@2.0.2+dfsg-10?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2+dfsg-10"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-twitter-bootstrap","binary_version":"2.0.2+dfsg-10"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14040.json"}},{"package":{"name":"twitter-bootstrap3","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/twitter-bootstrap3@3.3.7+dfsg-2ubuntu0.1~esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.3.7+dfsg-2","3.3.7+dfsg-2ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-bootstrap","binary_version":"3.3.7+dfsg-2ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14040.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}