CVE catalog

CVE-2026-77682

epiphany-browser: CVE-2026-77682

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:N
Published
Source
[NVD] · [CVE record]

A code injection vulnerability exists in Epiphany when the user invokes form autofill from the context menu on a page containing a malicious HTML form. In embed/web-process-extension/resources/js/ephy_autofill.js, getSelector() builds a CSS selector by directly interpolating an element's id attribute: path.unshift(`#${el.id}`); When the user selects an autofill entry, the browser process in embed/ephy-web-view.c previously constructed JavaScript using sprintf with the selector embedded in single quotes: EphyAutofill.fill(PAGE_ID, 'SELECTOR', FILL_CHOICE); Because SELECTOR comes from attacker-controlled page content and is not escaped, a crafted id such as a'); PAYLOAD; var _=(' breaks out of the string literal and executes arbitrary JavaScript when the script is evaluated. The injected code runs in Epiphany's private autofill script world, which hosts EphyAutofill credential APIs and password manager save/request handlers. The reporter demonstrated a proof of concept that injects credentials into another domain and uses Ephy.permissionsManager to enumerate domains with special permissions. Full exfiltration of all saved passwords was not demonstrated but may be possible given the privileges of this context. Exploitation requires the victim to visit a malicious page, right-click on a form field, and choose an Autofill context menu item. This is a deliberate user action but does not require installing software or entering credentials manually. Affected versions: Epiphany >= 47.beta. Fixed upstream in epiphany 50.6 and 49.9 via merge request !2147, which replaces sprintf-based script evaluation with a WebKit user message and jsc_value_object_invoke_method() passing the selector as a typed string argument. Upstream report: https://gitlab.gnome.org/GNOME/epiphany/-/issues/2921 Red Hat Product Security has determined that this vulnerability does not affect any currently supported Red Hat product. This assessment may evolve based on further analysis and discovery. For more information about this vulnerability and the products it affects, please see the linked references. The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianepiphany-browsersid51.1-1fixed
Debianepiphany-browserforky51.1-1fixed
Debianepiphany-browsertrixie48.5-0+deb13u1vulnerable
Debianepiphany-browserbookworm43.1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianepiphany-browsersourcesid51~rc-1not yet assignedNot reported[1145177]
Debianepiphany-browsersourceforky51~rc-1not yet assignedNot reported[1145177]
Debianepiphany-browsersourcetrixie(unfixed)not yet assignedNot reported[1145177]
Debianepiphany-browsersourcebookworm(unfixed)not yet assignedNot reported[1145177]

[Debian bug #1145177]

Notes

[trixie] epiphany-browser: Minor issue [bookworm] epiphany-browser: Limited support

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 43.1-1 · amd64 · bookworm

      Affected

      dsa · epiphany-browser · debian · bookworm; dsa · epiphany-browser · debian · 12

    • 43.1-1 · arm64 · bookworm

      Affected

      dsa · epiphany-browser · debian · bookworm; dsa · epiphany-browser · debian · 12

  • Source package: [epiphany-browser]

    Details (2)
    • 43.1-1 · all · bookworm

      Affected

      dsa · epiphany-browser · debian · bookworm; dsa · epiphany-browser · debian · 12

    • 43.1-1 · all · bookworm

      Affected

      dsa · epiphany-browser · debian · bookworm; dsa · epiphany-browser · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 48.5-0+deb13u1 · amd64 · trixie

      Affected

      dsa · epiphany-browser · debian · 13

    • 48.5-0+deb13u1 · arm64 · trixie

      Affected

      dsa · epiphany-browser · debian · 13

  • Source package: [epiphany-browser]

    Details (2)
    • 48.5-0+deb13u1 · all · trixie

      Affected

      dsa · epiphany-browser · debian · 13

    • 48.5-0+deb13u1 · all · trixie

      Affected

      dsa · epiphany-browser · debian · 13

Observed:

References