Firefox · DOM
CVE-2026-117920
Logic Error in DOM
Overview
High
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Files Changed
dom/base/MutationObservers.cpp
Patch
diff --git a/dom/base/MutationObservers.cpp b/dom/base/MutationObservers.cpp
index 2b253e9e375..9db1180188f 100644
--- a/dom/base/MutationObservers.cpp
+++ b/dom/base/MutationObservers.cpp
@@ -114,6 +114,9 @@ template <NotifyPresShell aNotifyPresShell = NotifyPresShell::After,
static inline void Notify(nsINode* aNode, NotifyObserver&& aNotify,
uint32_t aCallback) {
Document* doc = aNode->OwnerDoc();
+ if (doc->DOMNotificationsSuspended()) {
+ return;
+ }
nsDOMMutationEnterLeave enterLeave(doc);
#ifdef DEBUG
Loading diff…
References
On This Page