GHSA-w27x-w7q6-r5gmLowCVSS 4.7
react-native-webview 13.8.0 through 17.1.0 contains a code injection vulnerability that allows...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-130629
- https://github.com/react-native-webview/react-native-webview/issues/4072
- https://github.com/react-native-webview/react-native-webview/blob/v17.1.0/packages/react-native-webview/android/src/main/java/com/reactnativecommunity/webview/RNCWebView.java#L347-L355
- https://github.com/react-native-webview/react-native-webview/blob/v17.1.0/packages/react-native-webview/apple/RNCWebViewImpl.m#L1682-L1695
- https://www.vulncheck.com/advisories/react-native-webview-13.8.0-through-17.1.0-code-injection-via-injectedjavascriptobject
- https://github.com/advisories/GHSA-w27x-w7q6-r5gm