Medium firefox Logic Error 🔧 Commit mapped

Overview

Medium
Severity
CVSS
No
Exploited ITW
Fixed
Fix Status
Impactmoderate
DescriptionSite isolation issue in the Networking: Cookies component
ComponentDOM
Bug ClassLogic Error
Tracker2050425
Fix commit7f6acbd461fe (firefox) +3/-3
CISA KEVNot listed
CreditedYaqoub Aldurayhim
Disclosed2026-08-18

Changed Functions

FunctionChangeNotes
if
dom/cookiestore/CookieStoreParent.cpp
modified

Files Changed

  • dom/cookiestore/CookieStoreParent.cpp
diff --git a/dom/cookiestore/CookieStoreParent.cpp b/dom/cookiestore/CookieStoreParent.cpp
index 3fb3498e7ab..c1ea81ad4e9 100644
--- a/dom/cookiestore/CookieStoreParent.cpp
+++ b/dom/cookiestore/CookieStoreParent.cpp
@@ -45,19 +45,19 @@ bool CheckContentProcessSecurity(ThreadsafeContentParentHandle* aParent,
 
   RefPtr<ContentParent> contentParent = aParent->GetContentParent();
   if (!contentParent) {
-    return true;
+    return false;
   }
 
   PNeckoParent* neckoParent =
       LoneManagedOrNullAsserts(contentParent->ManagedPNeckoParent());
   if (!neckoParent) {
-    return true;
+    return false;
   }
 
   PCookieServiceParent* csParent =
       LoneManagedOrNullAsserts(neckoParent->ManagedPCookieServiceParent());
   if (!csParent) {
-    return true;
+    return false;
   }
 
   auto* cs = static_cast<CookieServiceParent*>(csParent);
Loading diff…