react-native-webview JavaScript injection in injectedJavaScriptObject
react-native-webview
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| react-native-webview react-native-webview |
| No fix yet |
Original description
react-native-webview 13.8.0 through 17.1.0 contains a code injection vulnerability that allows attackers to execute JavaScript by placing unescaped backticks or ${} sequences in injectedJavaScriptObject string values. Attackers who control values like profile fields or API responses can break out of the template literal to access the page DOM, non-HttpOnly cookies, and the ReactNativeWebView message bridge.
From the CVE record · VulnCheck