Loading advisory.
Loading advisory.
@angular/service-worker: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker
An information disclosure vulnerability exists in the @angular/service-worker package of the Angular framework. When the Service Worker fetches assets, it preserves metadata (such as headers) from the original request.
Published 2026-06-15 17:25 UTC · Modified 2026-07-15 22:30 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| @angular/service-worker | npm | >= 22.0.0-next.0, < 22.0.1 >= 21.0.0-next.0, < 21.2.17 >= 20.0.0-next.0, < 20.3.25 <= 19.2.25 | 22.0.1, 21.2.17, 20.3.25 | npm install @angular/service-worker@22.0.1npm install @angular/service-worker@21.2.17npm install @angular/service-worker@20.3.25 |
An information disclosure vulnerability exists in the @angular/service-worker package of the Angular framework. When the Service Worker fetches assets, it preserves metadata (such as headers) from the original request. However, on cross-origin redirects, the Service Worker fails to strip sensitive headers, violating the Fetch redirect algorithm.
This allows a remote attacker to obtain sensitive credentials (e.g., Authorization tokens, Proxy-Authorization credentials, or session cookies) by triggering a cross-origin redirect to an untrusted external origin.
If an application configured with the Angular Service Worker fetches assets with credential headers (such as Authorization header), and one of those requests is redirected to a different origin, the Service Worker will forward those headers to the new origin. This exposes critical credentials and session identifiers to unauthorized third-party servers.
For this vulnerability to be exploitable:
Vulnerable Configuration: The application must utilize the @angular/service-worker package to fetch assets.
Credentialed Requests: The application must attach sensitive request headers (like Authorization, Proxy-Authorization, or rely on cookies) to asset-group requests.
Redirect Flow: These requests must encounter a cross-origin redirect to an attacker-controlled or untrusted domain.
22.0.1
21.2.17
20.3.25
This vulnerability was discovered and reported by CodeMender from Google DeepMind.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |