Intel

AIKIDO-2026-10982

@angular/service-worker is vulnerable to Information Disclosure

Information DisclosureGHSA-95qp-cmmw-mgqv Published 4 days ago

57

Medium Risk

This Affects:

JS@angular/service-worker
19.0.0 - 19.2.22
Fixed in 19.2.23
20.0.0 - 20.3.21
Fixed in 20.3.22
21.0.0 - 21.2.14
Fixed in 21.2.15
Are you affected? Scan for Free

TL;DR

Angular service worker reconstructs intercepted requests without preserving explicit credential and cache policy options. Requests that applications mark with credentials: 'omit' or cache: 'no-store' can be replayed with browser-default credentials or cached in service worker storage when they match configured asset groups. This can expose same-origin session data or keep private responses available after logout in affected client configurations. The patch preserves credential and cache policy fields when reconstructing requests.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@angular/service-worker is vulnerable to Information Disclosure in versions 21.0.0 - 21.2.14, 20.0.0 - 20.3.21 and 19.0.0 - 19.2.22.

How to fix this

Upgrade the @angular/service-worker library to the patch version.