Inappropriate implementation in Workers (CVE-2026-10996)
A data URL worker in Chromium incorrectly inherits the parent page's origin instead of receiving an opaque origin as required by the HTML specification. An attacker could exploit this to run script in a worker with the parent's origin, potentially bypassing same-origin protections.
Originally disclosed on Chrome VRP
- Fix shipped in 17 months
According to the HTML spec (see below), DedicatedWorkerHost::origin_ should be set to an opaque origin for a data URL worker, but in the current implementation the host always inherits the parent context's origin.
"The origin: Return a unique opaque origin if worker global scope's url's scheme is "data", and inherited origin otherwise." https://html.spec.whatwg.org/multipage/workers.html#script-settings-for-workers
Tests added by https://crrev.com/c/2043533 partially cover this.
(This is forked from https://crbug.com/chromium/1030909. Probably we should fix the https://crbug.com/chromium/1030909 first in terms of code dependency)
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
Likely the worker host implementation always copies the parent context's origin without checking whether the worker's URL scheme is 'data', contrary to the HTML specification.
What the attacker needed
Ability to create a data URL worker
The fix
The implementation should be changed to set an opaque origin for data URL workers, as the specification requires.
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 a web page creates a background script called a worker from a data URL, the browser should treat that worker as coming from nowhere (an opaque origin) so it cannot access the page's data. Instead, the browser gives the worker the same origin as the page, which means the worker can read and change things it should not be allowed to. This breaks a security boundary that normally keeps different websites separate.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.