GitHub Advisoryadvisory · npm

GHSA-36j3-xxf7-4pqg Android WebView Universal Cross-site Scripting

MEDIUM Published 2020-10-02 Modified 2022-08-03 Official page ↗
Aliases
CVE-2020-6506
Ecosystem
npm
Packages
react-native-webview
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-79, CWE-863
Reviewed
2020-10-02

Affected packages

• npm react-native-webview: < 11.0.0 → fixed in 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/

Related

Alias · CVE (1)

  • CVE-2020-6506 Insufficient policy enforcement in WebView in Google Chrome on Android prior to 83.0.4103.106 allowed a remote attacker to bypass site… vulnerability

Weakness · CWE (2)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness
  • CWE-863 Incorrect Authorization weakness

References