CVE-2026-130629
react-native-webview 13.8.0 through 17.1.0 Code Injection via injectedJavaScriptObject
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.mvnpm » react-native-webviewpreliminary | >= 13.8.0, <= 17.1.0 | - |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130629.json
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-130629
- Advisoryhttps://www.vulncheck.com/advisories/react-native-webview-13.8.0-through-17.1.0-code-injection-via-injectedjavascriptobject
- Reporthttps://github.com/react-native-webview/react-native-webview/issues/4072
- Packagehttps://github.com/react-native-webview/react-native-webview
- Articlehttps://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
- Articlehttps://github.com/react-native-webview/react-native-webview/blob/v17.1.0/packages/react-native-webview/apple/RNCWebViewImpl.m#L1682-L1695
