Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @angular/service-worker
  4. ›
  5. CVE-2026-54264

CVE-2026-54264: @angular/service-worker: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker

June 15, 2026

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.

References

  • github.com/advisories/GHSA-qxh6-94w6-9r5p
  • github.com/angular/angular/commit/47d68dcb26266316647133ab6385e77fc3e5ae08
  • github.com/angular/angular/pull/69029
  • github.com/angular/angular/security/advisories/GHSA-qxh6-94w6-9r5p
  • nvd.nist.gov/vuln/detail/CVE-2026-54264

Code Behaviors & Features

Detect and mitigate CVE-2026-54264 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 19.2.25, all versions starting from 20.0.0-next.0 before 20.3.25, all versions starting from 21.0.0-next.0 before 21.2.17, all versions starting from 22.0.0-next.0 before 22.0.1

Fixed versions

  • 20.3.25
  • 21.2.17
  • 22.0.1

Solution

Upgrade to versions 20.3.25, 21.2.17, 22.0.1 or above.

Impact 7.4 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-359: Exposure of Private Personal Information to an Unauthorized Actor

Source file

npm/@angular/service-worker/CVE-2026-54264.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 16 Jun 2026 12:17:58 +0000.