Update dependency react-dom to v16.2.1 [SECURITY]#27
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
Update dependency react-dom to v16.2.1 [SECURITY]#27renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
e941dc2 to
6401083
Compare
6401083 to
1c44a7b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^15.3.1→^16.2.1^15.3.2→^16.2.116.2.0→16.2.1^15.6.1→^16.0.0^15.5.4→^16.0.0Cross-Site Scripting in react-dom
CVE-2018-6341 / GHSA-mvjj-gqq2-p4hw
More information
Details
Affected versions of
react-domare vulnerable to Cross-Site Scripting (XSS). The package fails to validate attribute names in HTML tags which may lead to Cross-Site Scripting in specific scenarios. This may allow attackers to execute arbitrary JavaScript in the victim's browser. To be affected by this vulnerability, the application needs to:ReactDOMServerRecommendation
If you are using
react-dom16.0.x, upgrade to 16.0.1 or later.If you are using
react-dom16.1.x, upgrade to 16.1.2 or later.If you are using
react-dom16.2.x, upgrade to 16.2.1 or later.If you are using
react-dom16.3.x, upgrade to 16.3.3 or later.If you are using
react-dom16.4.x, upgrade to 16.4.2 or later.Severity
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
facebook/react (react-dom)
v16.2.1React DOM Server
CVE-2018-6341). This fix is available in the latestreact-dom@16.4.2, as well as in previous affected minor versions:react-dom@16.0.1,react-dom@16.1.2,react-dom@16.2.1, andreact-dom@16.3.3. (@gaearon in #13302)v16.2.0React
Fragmentas named export to React. (@clemmy in #10783)React.Childrenutilities. (@MatteoVH in #11422)React DOM
onChangeevent in some cases. (@jquense in #11028)React Test Renderer
setState()callback firing too early when called fromcomponentWillMount. (@accordeiro in #11507)React Reconciler
react-reconciler/reflectionwith utilities useful to custom renderers. (@rivenhk in #11683)Internal Changes
v16.1.2React DOM Server
CVE-2018-6341). This fix is available in the latestreact-dom@16.4.2, as well as in previous affected minor versions:react-dom@16.0.1,react-dom@16.1.2,react-dom@16.2.1, andreact-dom@16.3.3. (@gaearon in #13302)v16.1.1Compare Source
React
React DOM
captureattribute. (@maxschmeling in #11424)React DOM Server
ReactDOMServerpublic API. (@travi in #11531)autoFocus={false}attribute on the server. (@gaearon in #11543)React Reconciler
v16.1.0Discontinuing Bower Releases
Starting with 16.1.0, we will no longer be publishing new releases on Bower. You can continue using Bower for old releases, or point your Bower configs to the React UMD builds hosted on unpkg that mirror npm releases and will continue to be updated.
All Packages
React
React.Childrenutilities. (@MatteoVH in #11378)rendermethod but doesn't extend a known base class. (@sw-yx in #11168)React DOM
onas a custom attribute for AMP. (@nuc in #11153)onMouseEnterandonMouseLeavefiring on wrong elements. (@gaearon in #11164)nullshowing up in a warning instead of the component stack. (@gaearon in #10915)tabIndexnot getting applied to SVG elements. (@gaearon in #11034)dangerouslySetInnerHTMLin IE. (@OriR in #11108)form.reset()to respectdefaultValueon uncontrolled<select>. (@aweary in #11057)<textarea>placeholder not rendering on IE11. (@gaearon in #11177)<dialog>element. (@gaearon in #11035)componentDidReceivePropsmethod. (@iamtommcc in #11479)contentEditableandchildren. (@Ethan-Arrowood in #11208)selectgets nullvalue. (@Hendeca in #11141)React DOM Server
suppressHydrationWarningattribute for intentional client/server text mismatches. (@sebmarkbage in #11126)autoFocusattribute into SSR markup. (@gaearon in #11192)React Test Renderer and Test Utils
setState()calls incomponentWillMount()in shallow renderer. (@Hypnosphi in #11167)shouldComponentUpdate()afterforceUpdate(). (@d4rky-pl in #11239 and #11439)forceUpdate()andReact.PureComponentcorrectly. (@koba04 in #11440)package.jsondependency. (@gaearon in #11340)React ART
package.jsondependency. (@gaearon in #11341)react-art/Circle,react-art/Rectangle, andreact-art/Wedge. (@gaearon in #11343)React Reconciler (Experimental)
React Call Return (Experimental)
v16.0.1React DOM Server
CVE-2018-6341). This fix is available in the latestreact-dom@16.4.2, as well as in previous affected minor versions:react-dom@16.0.1,react-dom@16.1.2,react-dom@16.2.1, andreact-dom@16.3.3. (@gaearon in #13302)v16.0.0Compare Source
New JS Environment Requirements
New Features
render. (Docs coming soon!)ReactDOM.createPortal(). (Docs coming soon!)ReactDOMServer.renderToNodeStream()andReactDOMServer.renderToStaticNodeStream(). (@aickin in #10425, #10044, #10039, #10024, #9264, and others.)Breaking Changes
ReactDOM.render()andReactDOM.unstable_renderIntoContainer()now returnnullif called from inside a lifecycle method.setStatebehavior:setStatewith null no longer triggers an update. This allows you to decide in an updater function if you want to re-render.setStatedirectly in render always causes an update. This was not previously the case. Regardless, you should not be callingsetStatefrom render.setStatecallback (second argument) now fires immediately aftercomponentDidMount/componentDidUpdateinstead of after all components have rendered.<A />with<B />,B.componentWillMountnow always happens beforeA.componentWillUnmount. Previously,A.componentWillUnmountcould fire first in some cases.refto a component would always detach the ref before that component's render is called. Now, we change thereflater, when applying the changes to the DOM.ReactDOM.unmountComponentAtNode. See this example.componentDidUpdatelifecycle no longer receivesprevContextparam. (@bvaughn in #8631)componentDidUpdate()because DOM refs are not available. This also makes it consistent withcomponentDidMount()(which does not get called in previous versions either).unstable_batchedUpdates()anymore.ReactDOM.unstable_batchedUpdatesnow only takes one extra argument after the callback.react/dist/react.js→react/umd/react.development.jsreact/dist/react.min.js→react/umd/react.production.min.jsreact-dom/dist/react-dom.js→react-dom/umd/react-dom.development.jsreact-dom/dist/react-dom.min.js→react-dom/umd/react-dom.production.min.jsReactDOM.hydrateinstead ofReactDOM.renderif you're reviving server rendered HTML. Keep usingReactDOM.renderif you're just doing client-side rendering.Removed Deprecations
react-with-addons.jsbuild anymore. All compatible addons are published separately on npm, and have single-file browser versions if you need them.React.createClassis now available as create-react-class,React.PropTypesas prop-types,React.DOMas react-dom-factories, react-addons-test-utils as react-dom/test-utils, and shallow renderer as react-test-renderer/shallow. See 15.5.0 and 15.6.0 blog posts for instructions on migrating code and automated codemods.v15.7.0Compare Source
React
v15.6.2Compare Source
All Packages
React DOM
document.documentModewould trigger IE detection in other browsers, breaking change events. (@aweary in #10032)onChangewould not fire withdefaultCheckedon radio inputs. (@jquense in #10156)controlListattribute to allowed DOM properties (@nhunzaker in #9940)v15.6.1Compare Source
React DOM
pxto custom CSS property values. (@TrySound in #9966)v15.6.0Compare Source
React
console.warninstead ofconsole.error. (@flarnie in #9753)React.createClass. Points users tocreate-react-classinstead. (@flarnie in #9771)React.DOMfactory helpers. (@nhunzaker in #8356)React.createMixinhelper, which was never used. (@aweary in #8853)React DOM
styleattribute. (@aweary in #9302)onChangenot firing properly for some inputs. (@jquense in #8575)React Addons
react. (@flarnie in #9919)isMounted()to returntrueincomponentWillUnmount. (@mridgway in #9638)react-addons-updateto not depend on nativeObject.assign. (@gaearon in #9937)create-react-class. (@gaearon in #9933)react-linked-input. (@gaearon in #9766)react-addons-(css-)transition-groupto the new package. (@gaearon in #9937)v15.5.4Compare Source
React Addons
prop-typesto fix critical bug. (@gaearon in 545c87f)react-addons-create-fragmentpackage to includeloose-envifytransform for Browserify users. (@mridgway in #9642)React Test Renderer
batchedUpdateson shallow renderer. (@gaearon in 9382)v15.5.3Compare Source
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React Addons
react-addons-create-fragmentpackage to export correct thing. (@gaearon in #9385)create-react-classpackage to includeloose-envifytransform for Browserify users. (@mridgway in #9642)v15.5.2Compare Source
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React Addons
v15.5.1Compare Source
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React
v15.5.0Compare Source
Note: this release has a critical issue and was deprecated. Please update to 15.5.4 or higher.
React
Added a deprecation warning forReact.createClass. Points users to create-react-class instead. (@acdlite in #d9a4fa4)React.PropTypes. Points users to prop-types instead. (@acdlite in #043845c)ReactDOMtogether withReactDOMServer. (@wacii in #9005)React DOM
react-dom/test-utils, which exports the React Test Utils. (@bvaughn)React Test Renderer
componentWillUnmountwas not called for children. (@gre in #8512)react-test-renderer/shallow, which exports the shallow renderer. (@bvaughn)React Addons
peerDependenciesso that addons continue to work indefinitely. (@acdlite and @bvaughn in 8a06cd7 and 67a8db3)React.createClassandReact.PropTypes(@acdlite in 12a96b9)react-addons-test-utilsis deprecated. Usereact-dom/test-utilsandreact-test-renderer/shallowinstead. (@bvaughn)v15.4.2Compare Source
React
getInitialStatewhenthis.stateis set. (@bvaughn in #8594)React DOM
React Addons
v15.4.1Compare Source
React
React DOM
v15.4.0Compare Source
React
React DOM
aria-attributes. (@jessebeach in #7744)autofocusrather thanautoFocus. (@hkal in #7694)String.prototype.split. (@nhunzaker in #7629)batchedUpdatesAPI now passes the wrapped function's return value through. (@bgnorlov in #7444)React Perf
React Test Utils
Simulate.click()on a<input disabled onClick={foo} />thenfoowill get called whereas it didn't before. (@nhunzaker in #7642)React Test Renderer
ReactTestRenderer.create()now accepts{createNodeMock: element => mock}as an optional argument so you can mock refs with snapshot testing. (@Aweary in #7649, #8261)v15.3.2Compare Source
React
React DOM
playsInlineto supported HTML attributes. (@reaperhulk in #7519)asto supported HTML attributes. (@kevinslin in #7582)preventDefault()in Synthetic Events. (@g-palmer in #7411)onSelectimplementation. (@AgtLucas in #7533)document.documentModechecks to handle Google Tag Manager. (@SchleyB in #7594)document.createEvent. (@Andarist in #7621)dangerouslySetInnerHTMLand SVG in Internet Explorer. (@zpao in #7618)React Test Renderer
React Perf Add-on
Configuration
📅 Schedule: (UTC)
🚦 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.