Intel

AIKIDO-2026-10983

@angular/service-worker is vulnerable to Information Disclosure

Information DisclosureGHSA-gv2q-mqqv-365m 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 strict redirect handling. Requests that applications create with redirect: 'error' can be downgraded to the browser's default follow behavior when they match configured asset groups. In applications where public matched routes redirect to authenticated same-origin resources, the service worker can act as a confused deputy and return sensitive data that the original request policy intended to block. The patch preserves redirect policy 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.