CVE-2026-130629
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 o…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · React-native-webview
| Product | Affected versions |
|---|---|
| React-native-webview | from 13.8.0 through 17.1.0 Version 13.8.0 ≤17.1.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2026-130629