Restrict webview.loadDataWithBaseUrl base URL
There were no restrictions on which URLs could be used as the base URL when using webview's loadDataWithBaseUrl API. This could allow for an embedder to impersonate another extension through a webview. We now restrict the base URL to HTTP(S) or the embedder's own origin. Bug: 1108126 Change-Id: I093a3d2c75cfb2f307ceca43add513194df13854 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2553704Reviewed-by:James MacLean <wjmaclean@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#831054}
Showing
Please register or sign in to comment