Skip to content

Android WebView Universal Cross-site Scripting

Moderate severity GitHub Reviewed Published Sep 18, 2020 in react-native-webview/react-native-webview • Updated Jan 27, 2023

Package

npm react-native-webview (npm)

Affected versions

<= 10.10.2

Patched versions

11.0.0

Description

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/

References

Published by the National Vulnerability Database Jul 22, 2020
Reviewed Oct 2, 2020
Published to the GitHub Advisory Database Oct 2, 2020
Last updated Jan 27, 2023

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

CVE ID

CVE-2020-6506

GHSA ID

GHSA-36j3-xxf7-4pqg

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.