{"id":"CVE-2026-50184","published":"2026-06-22T15:42:05Z","modified":"2026-06-23T13:48:24Z","title":"Angular: Request Credential & Cache Policy Stripping in Angular Service Worker","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00208,"percentile":0.11136,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-524","name":"Use of Cache Containing Sensitive Information"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-95qp-cmmw-mgqv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/pull/68904","tags":["x_refsource_MISC"]}],"priority":{"score":6.2,"factors":[{"name":"EPSS percentile","points":2.23},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":[">= 22.0.0-next.0, < 22.0.0-rc.2",">= 21.0.0-next.0, < 21.2.15",">= 20.0.0-next.0, < 20.3.22",">= 19.0.0-next.0, < 19.2.23","<= 18.2.14"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T13:48:06.163682Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/service-worker","vulnerableRanges":[">=22.0.0-next.0, <22.0.0-rc.2",">=21.0.0-next.0, <21.2.15",">=20.0.0-next.0, <20.3.22",">=19.0.0-next.0, <19.2.23","<=18.2.14"],"patched":["22.0.0-rc.2","21.2.15","20.3.22","19.2.23"],"from":["GHSA-95qp-cmmw-mgqv"],"provenance":"source"}],"summary":{"text":"In the @angular/service-worker package of Angular, prior to versions 22.0.0-rc.2, 21.2.15, 20.3.22, and 19.2.23, a request reconstruction helper drops client-specified credentials and cache settings, such as credentials: 'omit' and cache: 'no-store', reverting them to browser defaults. An attacker with local access who can induce user interaction could exploit this to obtain session data, since credentials may be sent on requests meant to omit them and private, non-cacheable resources may persist in the service worker cache, including after logout.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:44Z"},"euvd":{"id":"EUVD-2026-38296","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-50169","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-50184","published":"2026-06-22","fixed":"22.0.0-rc.2","kev":false},{"cve":"CVE-2026-54264","published":"2026-06-22","fixed":"22.0.1","kev":false,"link":{"from":"CVE-2026-50184","to":"CVE-2026-54264","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/service-worker","fromFixed":"21.2.15","toFixed":"21.2.17","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:@angular/service-worker","fromFixed":"20.3.22","toFixed":"20.3.25","daysApart":0},{"kind":"similar","provenance":"machine","score":0.24,"basis":"same product + CWE + description similarity"}]}}],"package":"npm:@angular/service-worker"}}