sometimes the search term persists in the url bar
Categories
(Firefox :: Address Bar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox-esr140 | 141+ | verified |
| firefox140 | --- | wontfix |
| firefox141 | --- | verified |
| firefox142 | --- | verified |
People
(Reporter: soeren.hentzschel, Assigned: jteow)
References
Details
(Keywords: csectype-spoof, reporter-external, sec-low, Whiteboard: [sng][adv-main141+][adv-ESR140.1+])
Attachments
(3 files, 1 obsolete file)
|
62.34 KB,
image/png
|
Details | |
|
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-esr140+
|
Details | Review |
|
154 bytes,
text/plain
|
Details |
if you look at the screenshot, you can see that the Google logo and the search term are in the address bar, even though a Non-Google website is loaded (it was the result of a Google search). Normally this should not happen, especially since it can also be seen as a security issue if the URL of an arbitrary website is not visible.
In most cases, the described behavior does not happen. However, this has now happened to me for the second time within a few days (on different devices each time).
Firefox Nightly 141.0a1 (2025-06-06) on macOS 15.5.
Comment 1•1 year ago
|
||
This is pretty bad from a security standpoint. James, would you be able to take a look?
| Assignee | ||
Comment 2•1 year ago
|
||
Thanks for flagging, I'll prioritize investigating this first thing next week.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 3•1 year ago
|
||
Unable to reproduce the original issue, but adding a safeguard
to ensure search terms only persist when the current URI matches
the URI that was used to load the page.
| Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 5•1 year ago
|
||
| bugherder | ||
Updated•1 year ago
|
I managed to reproduce the issue once on a 2025-06-06 Firefox Nightly build, using the string from the screenshot in Comment 0. Reproduced on macOS 15.
Verified as fixed on Firefox Nightly 142.0a1 and Firefox 141.0b1 on Windows 10, Ubuntu 22, macOS 15.
| Assignee | ||
Comment 8•1 year ago
|
||
Comment on attachment 9495179 [details]
Bug 1970997 - Add origin validation check for persisted search terms - r?#urlbar-reviewers!
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: It could be confusing for users for the search terms to persist on non-search engine results pages.
- User impact if declined: Intermittently, they might see the search terms persist in the address bar on a non search results page.
- Fix Landed on Version: 141
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It's limited to the address bar feature that operates on search engine results pages. There are also automated tests.
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 9•1 year ago
|
||
For clarity, "status-firefox140: wontfix" means we don't want to ship a 140.0.x point release for this. We do still want the uplift to make "status-firefox-esr140" fixed (tracking "141+" means "the ESR release in the 141 cycle", that is, 140.1)
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Verified as fixed on Firefox 140.1esr on Windows 10, Ubuntu 22, macOS 13.
Comment 13•1 year ago
|
||
Updated•1 year ago
|
Updated•7 months ago
|
Description
•