Open redirect in AppManifest (CVE-2026-106322)
The WebApp Migration API only checked that the initial install URL was same-site, then loaded it as a browser-initiated top-level navigation that followed HTTP redirects to any destination. An attacker could use this to make credentialed GET requests to cross-site or private network addresses, potentially enabling CSRF and SSRF.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 4 months
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: The browser-side same-site check for the WebApp Migration API only validates the pre-redirect install URL. Since the subsequent background load behaves as a top-level browser-initiated navigation, it follows HTTP redirects to arbitrary cross-site or private network destinations with credentials, enabling potential CSRF and SSRF.
Affected files:
content/browser/manifest/manifest_manager_host.cccomponents/webapps/browser/web_contents/web_app_url_loader.ccchrome/browser/web_applications/commands/install_migrate_to_app_command.ccchrome/browser/web_applications/commands/fetch_manifest_and_update_command.cc
Estimated timestamp from git blame: 2026-03-30
Summary
There is a potential security issue in the WebApp Migration API (active in desktop field trials under the DesktopAppOriginMigration config) where same-site checks are applied only to the initial, pre-redirect install_url of migrate_to/migrate_from manifests. Because the browser loads this URL using a browser-initiated, top-level main frame navigation in a background WebContents, the navigation automatically follows HTTP redirects without re-checking if the redirect destination is same-site. This can be abused to make credentialed GET requests to arbitrary cross-site or private network addresses, bypassing SameSite cookie restrictions and Local Network Access (LNA) checks.
Note: These findings are based on a static analysis of the codebase. Our tooling does not currently have the capability to execute code or run a live proof of concept, so this issue should be treated as potential/suggested until verified.
Root Cause Analysis
-
Pre-Redirect Verification Only: In
content/browser/manifest/manifest_manager_host.cc, the browser-side manifest parser validates theinstall_urlofmigrate_toandmigrate_fromagainst the document origin's site usingSchemefulSite::IsSameSiteWith():C++ if (manifest.migrate_to) { if (manifest.migrate_to->install_url.is_valid() && !document_site.IsSameSiteWith(manifest.migrate_to->install_url)) { return "Manifest migrate_to install_url must be the same site..."; } }This validation is performed only on the parsed URL value, before any network connection is made.
-
Browser-Initiated Top-Level Navigation: When installing or updating the app, the URL is navigated using
WebAppUrlLoader::LoadUrl(defined incomponents/webapps/browser/web_contents/web_app_url_loader.cc), which initiates a top-level, main-frame navigation whereis_renderer_initiated = falseandinitiator_origin = nullopt. -
Bypassing Protections on Redirects: Because the navigation is treated as browser-initiated and runs on a main frame:
- Local Network Access (LNA) checks are completely bypassed since top-level main-frame navigations default to
Policy::kAllow(seecontent/browser/renderer_host/local_network_access_util.cc). This enables reachability to private local IP addresses (RFC1918 / link-local addresses). - Fetch Metadata is set to
Sec-Fetch-Site: none, which bypasses server-side checks that verify the source of the navigation. - SameSite Cookies (
SameSite=Laxand potentiallyStrictdepending onkCookieSameSiteConsidersRedirectChain) are attached to the redirected request since there is no cross-site initiator origin.
- Local Network Access (LNA) checks are completely bypassed since top-level main-frame navigations default to
-
Post-hoc Detection is Too Late: While
WebAppUrlLoadermonitors the load and detects redirects by comparing the final URL with the requested URL inDidFinishLoad(returningkRedirectedUrlLoadedto abort the command), the HTTP request to the redirect destination has already been fully processed by the target server before this check occurs.
Potential Steps to Reproduce
-
An attacker serves a PWA from
https://attacker.example/with a manifest specifying:JSON "migrate_to": { "id": "https://attacker.example/v2", "install_url": "https://attacker.example/r" } -
When the PWA is installed and subsequently updated,
ManifestUpdateManagertriggersInstallMigrateToAppCommandwhich loadshttps://attacker.example/rin a backgroundWebContents. -
The server at
https://attacker.example/rresponds with an HTTP302 Foundredirecting tohttps://victim-bank.example/transfer?to=evil&amt=1000or a local address likehttp://192.168.1.1/admin?cmd=reboot. -
The browser follows the redirect, attaching the user's session cookies for
victim-bank.exampleor successfully routing the request into the local router, executing the action.
Suggested Fix
Implement navigation throttling or strict redirection checks within WebAppUrlLoader or the migration commands. Specifically:
- Introduce a policy or parameter in
WebAppUrlLoader::LoadUrlto explicitly disallow cross-site redirects during background manifest-related navigations. - Implement a custom
NavigationThrottlefor the migration commands that monitors redirects (WillRedirectRequest) and cancels the navigation immediately if a redirect attempts to cross same-site/same-origin boundaries.
Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The same-site validation was applied only to the pre-redirect install URL, while the subsequent browser-initiated top-level navigation followed HTTP redirects without re-checking the destination.
Impact
This could enable CSRF against cross-site endpoints and SSRF to private network addresses, bypassing SameSite cookie restrictions and Local Network Access checks; the report notes the findings are from static analysis and have not been verified with a live proof of concept.
What the attacker needed
Desktop field trial DesktopAppOriginMigration active; Attacker controls a PWA with a crafted manifest; Victim installs and updates the PWA; Victim has cookies for the redirect target
The fix
The report suggests adding navigation throttling or strict redirect checks in WebAppUrlLoader or the migration commands to cancel cross-site redirects during background manifest navigations.
How it was found
- An attacker serves a PWA with a manifest whose migrate_to install_url points to an attacker-controlled redirect endpoint.
- When the PWA is installed and updated, the browser loads that install_url in a background WebContents.
- The attacker's server responds with an HTTP redirect to a victim site or a private network address.
- The browser follows the redirect, attaching the user's cookies or reaching the local device, and the action is executed.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When you install a web app, the browser fetches a file called a manifest that can tell it to migrate to a new address. The browser checked that this address was on the same site as the app, but it did not check where that address redirected to. An attacker could make the address redirect to a bank or a home router, and the browser would follow it while sending the user's cookies, which could perform actions on those sites without the user's knowledge.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.