diff --git a/docs/Reference.md b/docs/Reference.md index dbfc8b6..a465771 100644 --- a/docs/Reference.md +++ b/docs/Reference.md @@ -2,8 +2,6 @@ This document lays out the current public properties and methods for the React Native WebView. -> **Security Warning:** Currently, `onMessage` and `postMessage` do not allow specifying an origin. This can lead to cross-site scripting attacks if an unexpected document is loaded within a `WebView` instance. Please refer to the MDN documentation for [`Window.postMessage()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage) for more details on the security implications of this. - ## Props Index - [`source`](Reference.md#source)