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.
Metrics
CVSS 3.1 4.7/10
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:NWeakness enumeration
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| react-native-webview | react-native-webview | >= 13.8.0, <= 17.1.0 |
References
- 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://github.com/react-native-webview/react-native-webview/issues/4072
- https://www.vulncheck.com/advisories/react-native-webview-13.8.0-through-17.1.0-code-injection-via-injectedjavascriptobject
Timeline
- Published
- Nov 17, 2026
- Last modified
- Nov 24, 2026
- NVD status
- Awaiting Analysis