Medium, CVSS 6.5npmAmendedPublished
Android WebView Universal Cross-site Scripting
CVE-2020-6506 · GHSA-36j3-xxf7-4pqg
- Affected
- npm react-native-webview <= 10.10.2
- Fixed in
- 11.0.0· Vendor fix available
- Issue
- A universal cross-site scripting (UXSS) vulnerability, CVE-2020-6506 (https://crbug.com/1083819), has been identified in the Android WebView system component, which allows cross-origin iframes to execute arbitrary JavaScript in the top-level document. This vulnerability affects React Native apps which use a react-native-webview that allows navigation to arbitrary URLs, and when that app runs on systems with an Android WebView version prior to 83.0.4103.106. Pending mitigation Ensure users update their Android WebView system component via the Google Play Store to 83.0.4103.106 or higher to avoid this UXSS. 'react-native-webview' is working on a mitigation but it could take some time. References https://alesandroortiz.com/articles/uxss-android-webview-cve-2020-6506/
Recommended action: Upgrade to 11.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.