mitodl / edx-platform

The Open edX platform, the software that powers edX!
http://open.edx.org/
GNU Affero General Public License v3.0
6 stars 1 forks source link

fix(deps): update dependency bootstrap to v4.3.1 [security] - autoclosed #317

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bootstrap (source) 4.0.0 -> 4.3.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2019-8331

Versions of bootstrap prior to 3.4.1 for 3.x and 4.3.1 for 4.x are vulnerable to Cross-Site Scripting (XSS). The data-template attribute of the tooltip and popover plugins lacks input sanitization and may allow attacker to execute arbitrary JavaScript.

Recommendation

For bootstrap 4.x upgrade to 4.3.1 or later. For bootstrap 3.x upgrade to 3.4.1 or later.

CVE-2018-14040

In Bootstrap starting in version 2.3.0 and prior to 3.4.0, as well as 4.x before 4.1.2, XSS is possible in the collapse data-parent attribute.

CVE-2018-14042

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.


Release Notes

twbs/bootstrap (bootstrap) ### [`v4.3.1`](https://togithub.com/twbs/bootstrap/releases/tag/v4.3.1) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.3.0...v4.3.1) - **Security:** Fixed an XSS vulnerability (CVE-2019-8331) in our tooltip and popover plugins by implementing a new HTML sanitizer - Fixed a small issue with our RFS (responsive font sizes) mixins ### [`v4.3.0`](https://togithub.com/twbs/bootstrap/releases/tag/v4.3.0) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.2.1...v4.3.0) ##### Highlights - **New:** Added `.stretched-link` utility to make any anchor the size of it's nearest `position: relative` parent, perfect for entirely clickable cards! - **New:** Added `.text-break` utility for applying `word-break: break-word` - **New:** Added `.rounded-sm` and `.rounded-lg` for small and large `border-radius`. - **New:** Added `.modal-dialog-scrollable` modifier class for scrolling content *within* a modal. - **New:** Added responsive `.list-group-horizontal` modifier classes for displaying list groups as a horizontal row. - **Improved:** Reduced our compiled CSS by using `null` for variables that by default inherit their values from other elements (e.g., `$headings-color` was `inherit` and is now `null` until you modifier it in your custom CSS). - **Improved:** Badge focus styles now match their `background-color` like our buttons. - **Fixed:** Silenced bad selectors in our JS plugins for the `href` HTML attribute to avoid JavaScript errors. Please try to use [valid selectors](https://www.w3.org/TR/CSS21/syndata.html#value-def-identifier) or the `data-target` HTML attribute/`target` option where available. - **Fixed:** Reverted v4.2.1's change to the breakpoint and grid container Sass maps that blocked folks from upgrading when modifying those default variables. - **Fixed:** Restored `white-space: nowrap` to `.dropdown-toggle` (before v4.2.1 it was on all `.btn`s) so carets don't wrap to new lines. - **Deprecated:** `img-retina`, `invisible`, `float`, and `size` mixins are now deprecated and will be removed in v5. ##### Links - [Read the full ship list](https://togithub.com/twbs/bootstrap/issues/27893) - [Review the project board](https://togithub.com/twbs/bootstrap/projects/16) ### [`v4.2.1`](https://togithub.com/twbs/bootstrap/releases/tag/v4.2.1) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.1.3...v4.2.1) Bump to v4.2.1 to republish package on npm. [See v4.2.0 release notes](https://togithub.com/twbs/bootstrap/releases/tag/v4.2.0) for changes introduced in v4.2. ### [`v4.1.3`](https://togithub.com/twbs/bootstrap/releases/tag/v4.1.3) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.1.2...v4.1.3) - **Fixed:** Removed the `:not(:root)` selector from our `svg` Reboot styles, resolving an issue that caused all inline SVGs ignore `vertical-align` styles via single class due to higher specificity. - **Fixed:** Moved the browserslist config from our `package.json` to a separate file to avoid unintended inherited browser settings across npm projects. - **Fixed:** Buttons in custom file inputs are once again clickable when focused. - **Improved:** Bootstrap's plugins can now be imported separately in any contexts because they are now UMD ready. - **Improved:** `.form-control`s now have a fixed `height` to compensate for differences in computed height across different `type`s. This also fixes some IE alignment issues. - **Improved:** Added `Noto Color Emoji` to our system font stack for better rendering in Linux OSes. ### [`v4.1.2`](https://togithub.com/twbs/bootstrap/releases/tag/v4.1.2) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.1.1...v4.1.2) - Fixed an XSS vulnerability in tooltip, collapse, and scrollspy plugins - Improved how we query elements in our JavaScript plugins - Inline SVGs now have the same vertical alignment as images - Fixed issues with double transitions on carousels - Added Edge and IE10-11 fallbacks to our floating labels example - Various improvements to form controls, including disabled states on file inputs and unified focus styles for selects Checkout the [v4.1.2 ship list](https://togithub.com/twbs/bootstrap/issues/26423) and [GitHub project](https://togithub.com/twbs/bootstrap/projects/14) for the full details. ### [`v4.1.1`](https://togithub.com/twbs/bootstrap/releases/tag/v4.1.1) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.1.0...v4.1.1) **Our first patch release for Bootstrap 4!** Here's a quick rundown of some of the changes: - Added validation styles for file inputs - Improved printing of dark tables - Suppressed that `text-hide` deprecation notice by default - Cleaned up some JS globals and improve coverage - Bumped dependencies, namely Jekyll - Fixed docs issue with incorrect name for our monospace font utility Checkout the [v4.1.1 ship list](https://togithub.com/twbs/bootstrap/issues/25971) and [GitHub project](https://togithub.com/twbs/bootstrap/projects/13) for the full details. ### [`v4.1.0`](https://togithub.com/twbs/bootstrap/releases/tag/v4.1.0) [Compare Source](https://togithub.com/twbs/bootstrap/compare/v4.0.0...v4.1.0) - Added new custom range form control. - Added new `.carousel-fade` modifier to switch carousel from horizontal sliding to crossfade. - Added new `.dropdown-item-text` for plaintext dropdown items. - Added new `.flex-fill`, `.flex-grow-*`, and `.flex-shrink-*` utilities. - Added new `.table-borderless` variant for tables. - Added new `.text-monospace` utility. - Added new `.text-body` (default body color), `.text-black-50` (50% opacity black), and `.text-white-50` (50% opacity white) utilities. - Added new `.shadow-*` utilities for quickly adding `box-shadow`s. - Added ability to disable Popper's positioning in dropdowns. - Fixed longstanding issue with Chrome incorrectly rendering cards across CSS columns. - Deprecated `.text-hide`—you'll see a warning during compilation—as it's a dated and undocumented feature. - Fixed up Dashboard and Offcanvas examples across Firefox and IE. - Breadcrumbs can now use non-string values as dividers. - Updated our Theming docs to confirm you *cannot* use CSS variables in media queries (sorry folks!). Be sure to look at the [ship list](https://togithub.com/twbs/bootstrap/issues/25375) and [project board](https://togithub.com/twbs/bootstrap/projects/5) for more details on all our fixes.

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] commented 4 months ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: package-lock.json
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: edx@0.1.0
npm error Found: popper.js@1.12.9
npm error node_modules/popper.js
npm error   popper.js@"1.12.9" from the root project
npm error
npm error Could not resolve dependency:
npm error peer popper.js@"^1.14.7" from bootstrap@4.3.1
npm error node_modules/bootstrap
npm error   bootstrap@"4.3.1" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /tmp/renovate/cache/others/npm/_logs/2024-05-10T14_10_44_685Z-eresolve-report.txt

npm error A complete log of this run can be found in: /tmp/renovate/cache/others/npm/_logs/2024-05-10T14_10_44_685Z-debug-0.log