CVE-2026-77682
Received Received - Intake

Code Injection in Epiphany Browser via Autofill

Vulnerability report for CVE-2026-77682, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-27

Last updated on: 2026-11-27

Assigner: Fedora Project

Description

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-27
Last Modified
2026-11-27
Generated
2026-11-27
AI Q&A
2026-11-27
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
GNOME Epiphany From 47.0 (inc) to 49.9 (exc)
GNOME Epiphany From 50.0 (inc) to 50.6 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a code injection vulnerability in Epiphany's form autofill feature. When a user right-clicks a form field and selects autofill, the browser constructs JavaScript using an untrusted CSS selector derived from a malicious HTML form's element ID. The selector is inserted into a script string without proper sanitization, allowing an attacker to break out of the string context and execute arbitrary JavaScript in Epiphany's privileged autofill environment.

Detection Guidance

This vulnerability requires manual user interaction to exploit, so detection involves checking for signs of compromise after a user right-clicks and uses autofill on a malicious page. Monitor browser logs for unexpected JavaScript execution in Epiphany's autofill context. Check for unauthorized credential injections or permission changes in domains.

Impact Analysis

An attacker could inject credentials into other domains, enumerate domains with special permissions, or potentially exfiltrate saved passwords. Exploitation requires visiting a malicious page and performing deliberate actions like right-clicking a form field and selecting autofill.

Mitigation Strategies

Upgrade Epiphany to version 50.6 or 49.9 or later. Disable the autofill feature in Epiphany settings if an update is not immediately available. Avoid using autofill on untrusted websites until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-77682. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...