Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 23b15df9ebc00659c80da09bf7e7297a60f6a479
https://github.com/WebKit/WebKit/commit/23b15df9ebc00659c80da09bf7e7297a60f6a479
Author: Chris Dumez <[email protected]>
Date: 2026-05-23 (Sat, 23 May 2026)
Changed paths:
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
didSameDocumentNavigationForFrame accepts arbitrary URL, enabling address bar
spoofing
https://bugs.webkit.org/show_bug.cgi?id=310073
rdar://172567659
Reviewed by Ryosuke Niwa.
Add a MESSAGE_CHECK to validate that the URL's protocol/host/port match
the current frame's URL.
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didSameDocumentNavigationForFrameViaJS):
Originally-landed-as: 305413.512@rapid/safari-7624.2.5.110-branch
(d1551df53d97). rdar://176062692
Canonical link: https://commits.webkit.org/313796@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications