CVE-2026-50184 Details
Description
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, an issue in the @angular/service-worker package compromises the integrity of request-policy enforcement during request reconstruction. When the Angular Service Worker intercepts network requests for matched assets, it reconstructs a new Request object using an internal helper function. During this reconstruction process, the helper function strips explicit client-defined safety parameters: the credentials configuration (such as credentials: 'omit') and the HTTP cache mode configuration (such as cache: 'no-store'). These are reverted back to standard browser-default parameters (credentials: 'same-origin' and default HTTP cache properties). This causes the browser to include active credentials (such as cookies or Authorization headers) on outbound requests where the client-side developer explicitly instructed they should be omitted, leading to potential session leaks. Additionally, it causes private or non-cacheable resources to be cached by the service worker's engine, making private page states accessible or persistent inside the client's local cache post-logout. This vulnerability is fixed in 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23.
A vulnerability exists in the Angular Service Worker package versions prior to 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23. During the reconstruction of network requests for matched assets, the service worker strips explicit client-defined safety parameters related to credentials and HTTP cache modes, reverting them to default browser settings. This behavior can lead to session leaks by including active credentials in requests where they were explicitly omitted, and it can cause private or non-cacheable resources to be improperly cached, allowing access to private page states after logout.
Users can upgrade to Angular Service Worker versions 22.0.0-rc.2, 21.2.15, 20.3.22, or 19.2.23. If an immediate upgrade is not possible, strict flags should be applied to session cookies and secure endpoints should be excluded from service worker caching. Additionally, the browser's cache storage can be programmatically cleared of entries registered by the Angular Service Worker upon user logout.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/angular/angular/pull/68904 | [email protected] | Issue TrackingPatch |
| https://github.com/angular/angular/security/advisories/GHSA-95qp-cmmw-mgqv | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor | [email protected] |
| CWE-524 | Use of Cache Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| angular angular | <= 18.2.14 >= 19.0.0, < 19.2.23 >= 20.0.0, < 20.3.22 >= 21.0.0, < 21.2.15 22.0.0 next0 22.0.0 next1 22.0.0 next10 22.0.0 next11 22.0.0 next12 22.0.0 next2 22.0.0 next3 22.0.0 next4 22.0.0 next5 22.0.0 next6 22.0.0 next7 22.0.0 next8 22.0.0 next9 22.0.0 rc0 22.0.0 rc1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 9, 2026 | Reanalysis | [email protected] |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 23, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |