Bug 2520895

Summary: CVE-2026-77682 epiphany: epiphany: JavaScript code injection in autofill via unsanitized CSS selector from element id [fedora-all]
Product: [Fedora] Fedora Reporter: Ganesh <gnaik>
Component: epiphanyAssignee: Michael Catanzaro <mcatanza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: gecko-bugs-nobody, gnome-sig, jhorak, mcatanza, mclasen, rstrode, tpopela
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["4c2c2427-9160-4a06-942d-381571d89a0d"]}
Fixed In Version: epiphany-49.9.1-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-31 16:58:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2520893    

Description Ganesh 2026-08-21 05:34:20 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

A flaw was found in Epiphany's form autofill feature. When a user triggers autofill from the context menu, the browser process built JavaScript by interpolating a CSS selector derived from untrusted page content (element id attributes) into a script string without escaping. A malicious website can set a crafted id on a form field to break out of the string context and execute arbitrary JavaScript in Epiphany's privileged autofill script world, which exposes the EphyAutofill credential API and password manager handlers. Reporter demonstrated credential injection across origins and permission enumeration. Fixed upstream in epiphany 50.6 and 49.9 (MR !2147).

Comment 1 Fedora Update System 2026-08-21 14:44:15 UTC
FEDORA-2026-e205f21e0d (epiphany-49.9.1-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-e205f21e0d

Comment 2 Fedora Update System 2026-08-31 16:58:43 UTC
FEDORA-2026-e205f21e0d (epiphany-49.9.1-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.