Origin Loss in ServiceWorker Interception: Bypassing SameSite Cookie Protections

Origin Loss in ServiceWorker Interception: Bypassing SameSite Cookie Protections

CVE-2022-45410 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

When a ServiceWorker intercepted a request with <code>FetchEvent</code>, the origin of the request was lost after the ServiceWorker took ownership of it. This had the effect of negating SameSite cookie protections. This was addressed in the spec and then in browsers. This vulnerability affects Firefox ESR < 102.5, Thunderbird < 102.5, and Firefox < 107.

Learn more about our Web Application Penetration Testing UK.