Descrizione
react-native-webview 13.7.0 through 17.1.0 on Windows contains an unrestricted URI scheme launch vulnerability in the WebView2 OnCoreWebView2NewWindowRequested handler, which passes requested URIs to LaunchUriAsync without scheme or user-initiation checks. Malicious web content can call window.open() or use target=_blank links with schemes like ms-settings: to launch Windows protocol handlers without the external-protocol confirmation prompt.
Come correggere
Priorità: Bassa — correggere con la manutenzione ordinaria. Motivazione: CVSS 4.3, EPSS 0.3% (percentile 19).
Versioni da aggiornare
Il record non riporta ancora i prodotti e le versioni corrette (analisi NVD in corso). Consultare l'advisory del vendor nei riferimenti.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Riferimenti
- Riferimentohttps://github.com/react-native-webview/react-native-webview/blob/v17.1.0/packages/react-native-webview/src/WebView.windows.tsx#L195
- Riferimentohttps://github.com/react-native-webview/react-native-webview/blob/v17.1.0/packages/react-native-webview/windows/ReactNativeWebView/RCTWebView2ComponentView.cpp#L454-L474
- Riferimentohttps://github.com/react-native-webview/react-native-webview/issues/4079
- Riferimentohttps://www.vulncheck.com/advisories/react-native-webview-13.7.0-through-17.1.0-windows-arbitrary-uri-scheme-launch-via-newwindowrequested