Firefox · DOM
CVE-2026-117951
Logic Error in DOM
Overview
High
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Changed Functions
| Function | Change | Notes |
|---|---|---|
ifdom/base/nsGlobalWindowOuter.h |
modified |
Files Changed
dom/base/nsGlobalWindowOuter.h
Patch
diff --git a/dom/base/nsGlobalWindowOuter.h b/dom/base/nsGlobalWindowOuter.h
index 97d881ec503..477f1fc8809 100644
--- a/dom/base/nsGlobalWindowOuter.h
+++ b/dom/base/nsGlobalWindowOuter.h
@@ -1129,6 +1129,11 @@ inline void nsGlobalWindowOuter::MaybeClearInnerWindow(
nsPIDOMWindowInner* aExpectedInner) {
if (mInnerWindow == aExpectedInner) {
mInnerWindow = nullptr;
+
+ if (mBrowsingContext && mBrowsingContext->GetUnbarrieredWindowProxy() ==
+ GetWrapperMaybeDead()) {
+ mBrowsingContext->ClearWindowProxy();
+ }
}
}
Loading diff…
References
On This Page