react-native-webview
14.0.1 · 20 Jun 2026MIT8.8M / weekRepositoryHomepagenpmAtom feed
11.26.1 is the newest release of 11.x.
In short
3 security
Security
Fixes 1 advisory that affected 10.10.2
- ModerateAndroid WebView Universal Cross-site ScriptingGHSA-36j3-xxf7-4pqg · 2 Oct 2020Fixed in 11.0.0
Release note
Features
- Security
android: Introduce setSupportMultipleWindows to mitigate CVE-2020-6506 (#1747 by @mrcoinbase and @kelset -- THANK YOU!)
Breaking changes
- Security
android: This release introduces the
setSupportMultipleWindowsprop for Android. This sets the underlying Android WebView settingsetSupportMultipleWindows. This prop defaults totrue(previouslyfalse), and serves to mitigate the security advisory CVE-2020-6506.
The primary way this new behavior changes existing React Native WebView implementations on Android is that links that open in new tabs/windows (such as <a target="_blank">) will now prompt to open in the system browser, rather than re-using the current WebView.
If this behavior is not desirable, you can set this new prop to false, but be aware that this exposes your app to the security vulnerability listed above. Make sure you have read and understand the whole advisory and relevant links.
iOS & Windows are unaffected.
<WebView
// ...
setSupportMultipleWindows={true} // default: true
/>A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.