Exposure of Private Personal Information to an Unauthorized Actor Affecting @angular/service-worker package, versions <20.3.25>=21.0.0-next.0 <21.2.17>=22.0.0-next.0 <22.0.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (15th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-ANGULARSERVICEWORKER-17359090
  • published17 Jun 2026
  • disclosed15 Jun 2026
  • creditCodeMender from Google DeepMind

Introduced: 15 Jun 2026

CVE-2026-54264  (opens in a new tab)
CWE-359  (opens in a new tab)

How to fix?

Upgrade @angular/service-worker to version 20.3.25, 21.2.17, 22.0.1 or higher.

Overview

@angular/service-worker is an Angular - service worker tooling!

Affected versions of this package are vulnerable to Exposure of Private Personal Information to an Unauthorized Actor via the newHeaders function. An attacker can obtain sensitive credentials and session identifiers by triggering a cross-origin redirect to an attacker-controlled or untrusted domain.

Note: This is only exploitable if the application uses the service worker to fetch assets with credentialed headers and those requests are redirected to a different origin.

CVSS Base Scores

version 4.0
version 3.1