public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Adrian Vovk <avovk@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/epiphany] f43: Fix CVE-2026-94291
Date: Fri, 23 Oct 2026 21:42:33 GMT	[thread overview]
Message-ID: <179279175313.1.6623416683576841838.rpms-epiphany-cfdda370a30f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/epiphany
            Branch : f43
            Commit : cfdda370a30fd1f4d2567eada34ef9beb597a9b9
            Author : Adrian Vovk <avovk@redhat.com>
            Date   : 2026-10-23T17:37:44-04:00
            Stats  : +70/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/epiphany/c/cfdda370a30fd1f4d2567eada34ef9beb597a9b9?branch=f43

            Log:
            Fix CVE-2026-94291

rhbz#2537343

---
diff --git a/CVE-2026-94291.patch b/CVE-2026-94291.patch
new file mode 100644
index 0000000..0a42451
--- /dev/null
+++ b/CVE-2026-94291.patch
@@ -0,0 +1,69 @@
+From 2b577758dad60fce3c1d2680405fc9343d0463ca Mon Sep 17 00:00:00 2001
+From: Michael Catanzaro <mcatanzaro@gnome.org>
+Date: Mon, 21 Sep 2026 16:53:57 -0500
+Subject: [PATCH] embed-shell: register URI schemes as display isolated
+
+This blocks them from being framed by web content. Notably, both
+ephy-reader and view-source URI schemes can be used to exfiltrate local
+files.
+
+Fixes #2952
+
+
+(cherry picked from commit 88c1ce375b62885dfbcdbb08c273233ce5cdb609)
+
+Co-authored-by: Michael Catanzaro <mcatanzaro@gnome.org>
+---
+ embed/ephy-embed-shell.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/embed/ephy-embed-shell.c b/embed/ephy-embed-shell.c
+index 3fe4455f2..438444a01 100644
+--- a/embed/ephy-embed-shell.c
++++ b/embed/ephy-embed-shell.c
+@@ -827,6 +827,7 @@ ephy_embed_shell_startup (GApplication *application)
+   EphyEmbedShellPrivate *priv = ephy_embed_shell_get_instance_private (shell);
+   WebKitWebsiteDataManager *data_manager;
+   WebKitCookieManager *cookie_manager;
++  WebKitSecurityManager *security_manager;
+   g_autofree char *filename = NULL;
+ 
+   G_APPLICATION_CLASS (ephy_embed_shell_parent_class)->startup (application);
+@@ -852,28 +853,31 @@ ephy_embed_shell_startup (GApplication *application)
+   data_manager = webkit_network_session_get_website_data_manager (priv->network_session);
+   webkit_website_data_manager_set_favicons_enabled (data_manager, TRUE);
+ 
++  security_manager = webkit_web_context_get_security_manager (priv->web_context);
++
+   /* about: URIs handler */
+   priv->about_handler = ephy_about_handler_new ();
+   webkit_web_context_register_uri_scheme (priv->web_context,
+                                           EPHY_ABOUT_SCHEME,
+                                           (WebKitURISchemeRequestCallback)about_request_cb,
+                                           shell, NULL);
+-
++  webkit_security_manager_register_uri_scheme_as_display_isolated (security_manager, EPHY_ABOUT_SCHEME);
+   /* Register about scheme as local so that it can contain file resources */
+-  webkit_security_manager_register_uri_scheme_as_local (webkit_web_context_get_security_manager (priv->web_context),
+-                                                        EPHY_ABOUT_SCHEME);
++  webkit_security_manager_register_uri_scheme_as_local (security_manager, EPHY_ABOUT_SCHEME);
+ 
+   /* view source handler */
+   priv->source_handler = ephy_view_source_handler_new ();
+   webkit_web_context_register_uri_scheme (priv->web_context, EPHY_VIEW_SOURCE_SCHEME,
+                                           (WebKitURISchemeRequestCallback)source_request_cb,
+                                           shell, NULL);
++  webkit_security_manager_register_uri_scheme_as_display_isolated (security_manager, EPHY_VIEW_SOURCE_SCHEME);
+ 
+   /* reader mode handler */
+   priv->reader_handler = ephy_reader_handler_new ();
+   webkit_web_context_register_uri_scheme (priv->web_context, EPHY_READER_SCHEME,
+                                           (WebKitURISchemeRequestCallback)reader_request_cb,
+                                           shell, NULL);
++  webkit_security_manager_register_uri_scheme_as_display_isolated (security_manager, EPHY_READER_SCHEME);
+ 
+   /* ephy-resource handler */
+   webkit_web_context_register_uri_scheme (priv->web_context, "ephy-resource",
+-- 
+GitLab
+

diff --git a/epiphany.spec b/epiphany.spec
index 362707b..19167a5 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -19,6 +19,7 @@ Source0:        https://download.gnome.org/sources/epiphany/49/%{name}-%{tarball
 Patch0:         epiphany-default-bookmarks.patch
 
 Patch1:         CVE-2026-18487.patch
+Patch2:         CVE-2026-94291.patch
 
 BuildRequires:  /usr/bin/rst2man
 BuildRequires:  blueprint-compiler

                 reply	other threads:[~2026-10-23 21:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179279175313.1.6623416683576841838.rpms-epiphany-cfdda370a30f@fedoraproject.org \
    --to=avovk@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox