Epiphanyに悪意あるフォームを開くと任意のJavaScriptを実行される脆弱性
Summary
Epiphanyで、悪意のあるHTMLフォームを含むページからオートフィルを実行すると、任意のJavaScriptを実行される脆弱性です。影響を受けるのは47.0以上49.9未満と50.0以上50.6未満で、修正版は49.9と50.6です。利用者が該当ページを開いて操作することが条件のため、修正版への更新を急いでください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Epiphanyで、悪意のあるHTMLフォームを含むページからオートフィルを実行すると、任意のJavaScriptを実行される脆弱性です。影響を受けるのは47.0以上49.9未満と50.0以上50.6未満で、修正版は49.9と50.6です。利用者が該当ページを開いて操作することが条件のため、修正版への更新を急いでください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GNOMEEpiphany |
≥ 47.0, < 49.9→ 49.9 ≥ 50.0, < 50.6→ 50.6 |
49.9 50.6 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-77682 epiphany-browser Fix available
- Ubuntu UBUNTU-CVE-2026-77682 epiphany-browser No fixed version in this record
Original description The description as published by the source.
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:…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- package gitlab.gnome.org
- patch gitlab.gnome.org
- report bugzilla.redhat.com
- report gitlab.gnome.org
- web github.com