CVE-2026-130629

react-native-webview 13.8.0 through 17.1.0 Code Injection via injectedJavaScriptObject

Published Nov 17, 2026 CVSS 4.0 · 2.3 Low EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

In the react-native-webview library versions 13.8.0 through 17.1.0 an unescaped backtick or ${} sequence in the injectedJavaScriptObject string allows an attacker to break out of the template literal. This enables arbitrary JavaScript execution within the context of the rendered page, permitting access to the DOM, non‑HttpOnly cookies, and the ReactNativeWebView message bridge.

Affected Systems

The vulnerable component is react‑native‑webview, a third‑party library used in mobile applications. Any app that includes the 13.8.0–17.1.0 range of this library is affected. Applications that construct an injectedJavaScriptObject with data derived from user profile fields, API responses, or other dynamic content may be impacted.

Risk and Exploitability

The CVSS score of 2.3 reflects a low overall severity, and the vulnerability is not currently listed in CISA’s KEV catalog. Exploitation requires an attacker to control the values supplied to injectedJavaScriptObject. While the attack surface is relatively limited and no exploit probability data (EPSS) is available, the ability to execute arbitrary client‑side code is a significant concern for apps that rely on trust in dynamic content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade react-native-webview to a version newer than 17.1.0 to remove the vulnerable code paths
  • If upgrading is not immediately possible, sanitize all values that populate injectedJavaScriptObject by escaping backticks and ${} sequences or by rejecting unsanitized input
  • Disable the injectedJavaScriptObject feature entirely if it is not required for application functionality

Generated by OpenCVE AI on November 17, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title react-native-webview 13.8.0 through 17.1.0 Code Injection via injectedJavaScriptObject
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Subscriptions

No data.

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 17, 2026, 2:30 PM
Reserved
Nov 17, 2026, 2:14 PM
Status
Received
Published
Nov 17, 2026, 3:17 PM
Modified
Nov 17, 2026, 3:17 PM