Bootstrap
The theme did not sufficiently filter certain attributes which could lead to a vulnerability where malicious scripts are run. An ordinary account on the site could view restricted information and alter or add new data through these scripts.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youThe optional tooltip and popover features must be enabled.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Bootstrap to 8.x-3.45.
For developers: what the fix changed
The fix removes `sanitize`, `sanitizeFn`, and `whiteList` properties from the element's data attributes before passing them as options to the Bootstrap popover and tooltip plugins in `js/popover.js` and `js/tooltip.js`, preventing attackers from bypassing the sanitizer.
Also in this release The release also updates the Bootstrap library version from 3.4.9 to 3.4.10 and adds automated tests for the new sanitizer behaviour.
docs/Theme-Settings.md+10 −10js/popover.js+8 −1 fixjs/tooltip.js+8 −1 fixsrc/Bootstrap.php+2 −1src/Plugin/Provider/ApiProviderBase.php+4 −3src/Plugin/Provider/CdnAsset.php+4 −3src/Plugin/Provider/DrupalBootstrapStyles.php+1 −0src/Plugin/Setting/Advanced/Cdn/CdnCustom.php+6 −6src/Plugin/Setting/Advanced/Cdn/CdnCustomCss.php+1 −1src/Plugin/Setting/Advanced/Cdn/CdnCustomCssMin.php+1 −1src/Plugin/Setting/Advanced/Cdn/CdnCustomJs.php+1 −1src/Plugin/Setting/Advanced/Cdn/CdnCustomJsMin.php+1 −1