This Week in WebKit — November 07 - November 13, 2026
Featured
A renderer UAF read and write whose free point author script chooses. The trigger hides in a corner of promise semantics most native code forgets can run script.
Checking offsets against the shared-memory handle would not have stopped it. The overflow comes from two fields nobody thought to compare.
From a compromised renderer, a mesh layout becomes a GPU-process OOB read. Whether it leaks depends on where the fetched vertices end up.
Any page can make the XML parser copy freed heap bytes into an attribute of chosen length. The script that frees them runs exactly where the spec says it must.
A web-reachable mutator/marker race in JSC, now fixed in public with a stress test. Builds carrying the redesign but not the fix are still exposed.
From a compromised renderer, the URL of a page it doesn't own was writable. The opening move is a popup, and the validator waved it through.
Security fixes
- Editor/WebPageMac UAF: key-command and IME text borrowed by `const&` across event dispatch
- `CSSStyleSheet::replaceSync()` copy-on-write guard for shared cached contents
Notable development
-
Remove FrameInfoData.securityOrigin
hardening WebKit UI process IPC
-
Decode VP8 in the content process in AudioVideoRendererRemote
feature WebKit media
-
[Site Isolation] Fake mouse-move forwarding into cross-origin iframes
feature WebKit Site Isolation
-
[Site Isolation] Find-in-page scroll propagation through cross-site iframes
feature WebKit Site Isolation
-
Recognize credentialless COEP and DIP values behind a preference
feature WebCore loader
-
Remove display list ImageBuffers
cleanup WebKit GPU process rendering
-
[JSC] B3 MemoryFill8/16/32/64/128 opcodes
optimization JavaScriptCore B3
-
[JSC] `%TypedArray%.prototype.buffer` intrinsic across IC/DFG/FTL
optimization JavaScriptCore JIT
Other security-relevant changes
- [WebCore style scope] (UAF)
eaafed0— Style::Scope::createOrFindSharedShadowTreeResolver의 UAF가 수정되었습니다. 기존 코드는 HashMap::ensure의 value functor가 실행되는 동안 bucket pointer를 계속 들고 있었습니다. 그 사이 document.fonts.ready를 통한 script 재진입으로 map이 rehash되면, 이 pointer가 dangling 상태가 될 수 있었습니다. 이제 resolver는 map 바깥에서 생성되며, regression test도 함께 추가되었습니다. - [WebCore ThreadedScrollingTreeScrollingNodeDelegate] (UAF)
b4722df— scroll-snap timer lambda가 ScrollingTree::m_treeLock을 잠그는 시점에, tree가 이미 해제되었을 수 있던 UAF가 수정되었습니다. 이제 tree를 RefPtr로 붙잡아 두고, null이면 즉시 빠져나옵니다. updateSnapScrollState와 wheel-test deferral 메서드에 남아 있던 동일한 unchecked scrollingTree() 접근도 함께 수정되었습니다. - [WebCore XML parser] (UAF)
24a545d— startElementNs()의 libxml2 input buffer UAF 수정(bug 321934)에 이어지는 후속 commit입니다. XMLDocumentParserLibxml2.cpp에 RC_REMOVE_SEC_ACCEL_3이 적용되었고, test는 LayoutTests/sar3로 이동되었습니다. 다만 공개된 diff에는 파일 이름 변경만 드러나 있습니다. - [WebCore dom / InternalObserverFromScript] (race condition)
a17dea3— m_next, m_error, m_complete를 새로 추가된 lock으로 보호하도록 변경되었습니다. 이로써 GC thread가 이 멤버들을 visit하는 도중 stop()이 이를 파괴하는 상황이 차단되었습니다. 패치 이전에는 GC visit이 이미 파괴된 callback에 접근할 수 있었습니다. 이 경우 thread-safe하지 않은 refcount를 두고 race가 발생할 수 있었습니다. - [WebKit NetworkProcess SharedWorker] (validator bypass)
bf820aa— SharedWorker의 top origin 검증 기준이 변경되었습니다. 이제 WebContent가 전달한 registrable domain만 보지 않고, UI process가 제공한 완전한 Site(scheme 포함)를 기준으로 검증합니다. 패치 이전에는 compromised WebContent process가 scheme을 위조해 SharedWorker의 process 배치에 영향을 줄 수 있었습니다. Opaque origin은 검증 대상에서 제외됩니다. - [WebCore QueuedVideoOutput] (race condition)
93259ce— periodic time observer block이 global delegate queue에서 AVPlayerItemVideoOutput의 마지막 reference를 해제하던 race가 수정되었습니다. 이때 -dealloc이 main thread의 invalidate()와 동시에 실행될 수 있었습니다. 이제 output은 항상 main run loop에서 파괴됩니다. - [NetworkProcess WebTransport (Cocoa)] (policy bypass)
fed1892— NetworkProcess의 Cocoa WebTransport session에서, 설정된 proxy를 NWParameters에 반영하도록 변경되었습니다. 그 결과 웹에서 시작된 connection이 더 이상 설정된 proxy를 우회하지 않습니다. SOCKS5와 HTTP CONNECT proxy에 대한 regression test도 추가되었습니다. - [WebKit ProcessLauncher (Cocoa)] (precedence bug)
48f3997— ProcessLauncherCocoa의 variant 우선순위가 수정되었습니다. 이제 Lockdown/CaptivePortal WebContent와 EnhancedSecurity가 함께 설정되면 전자가 우선합니다. 또한 setSecurityRestrictionMode(None/MaximizeCompatibility)가 Lockdown을 강제로 해제하지 않도록 변경되었습니다. 패치 이전에는 이 동작이 system Lockdown Mode를 덮어썼고, 결과적으로 더 느슨한 WebContent sandbox가 적용될 수 있었습니다. - [WebCore bindings JSDOMMapLike] (missing exception check)
e63ef92— JSDOMMapLike의 backing map helper에 누락되어 있던 throw scope가 추가되었습니다. CSS.highlights.set이 stack exhaustion 상황에서 map을 lazy하게 생성할 때, exception state가 잘못 다뤄지던 문제가 수정되었습니다. commit에는 assertion failure 방지가 목적이라고 명시되어 있으며, memory safety 영향은 주장하지 않습니다. - [WebKit NetworkProcess Downloads] (hardening)
579905e— privacy relay 우회를 막기 위해 download resume 경로가 강화되었습니다. 이제 resume blob에 privacy relay disposition과 resume URL이 함께 기록됩니다. strict fail-closed relay로 시작된 download는 restart만 허용됩니다. 다만 구형 blob은 여전히 resume되므로, 1회성 relay leak의 여지는 남아 있습니다. - [reporelaypy CheckoutRoute] (argument injection)
09b9ff5— CheckoutRoute의 VALID_REF_RE가 강화되어, '-'로 시작하는 ref path component를 모두 거부합니다. 이전에는 '4@--graph' 같은 ref가 git까지 전달되어 option으로 해석될 수 있었습니다. 이제 이런 값은 git에 도달하지 않습니다. 해당 입력에 대한 JSON route와 redirect route test도 추가되었습니다.