Skip to content
OpenAdvisories
High · 8.3 CVE-2026-54264 EUVD-2026-38274GHSA-qxh6-94w6-9r5p

Angular: Sensitive Header Leakage on Cross-Origin Redirects in Angular Service Worker

Published Jun 22, 2026 · Updated Jun 23, 2026 · Assigned by GitHub_M

Description

Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.1, 21.2.17, and 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. This vulnerability is fixed in 22.0.1, 21.2.17, and 20.3.25.

Affected products

VendorProductAffectedFixed
angular angular >= 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 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 angular.js No fix yet —
Debian 12 angular.js No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 angular.js No fix yet —
Ubuntu 26.04 LTS angular.js No fix yet —
Ubuntu 25.10 angular.js No fix yet —
Ubuntu 24.04 LTS angular.js No fix yet —
Ubuntu 22.04 LTS angular.js No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS angular.js No fix yet —
Ubuntu Pro 18.04 LTS angular.js No fix yet —
Ubuntu Pro 16.04 LTS angular.js No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @angular/service-worker >= 22.0.0-next.0, < 22.0.1 22.0.1 GHSA-qxh6-94w6-9r5p
npm @angular/service-worker >= 21.0.0-next.0, < 21.2.17 21.2.17 GHSA-qxh6-94w6-9r5p
npm @angular/service-worker >= 20.0.0-next.0, < 20.3.25 20.3.25 GHSA-qxh6-94w6-9r5p
npm @angular/service-worker <= 19.2.25 — GHSA-qxh6-94w6-9r5p

Advisories 1

References