{"cve":"CVE-2026-50184","nvd":{"published":"2026-06-22T18:16:42.783","modified":"2026-07-09T15:32:15.657","status":"Analyzed","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.","cvss_v4":{"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","score":5.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-200","CWE-524"],"references":["https://github.com/angular/angular/pull/68904","https://github.com/angular/angular/security/advisories/GHSA-95qp-cmmw-mgqv"],"products":["angular:angular"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-50184","score":0.00208,"percentile":0.10957,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-95qp-cmmw-mgqv","url":"https://osv.dev/vulnerability/GHSA-95qp-cmmw-mgqv","summary":"@angular/service-worker: Request Credential & Cache Policy Stripping","modified":"2026-07-15T22:30:43.996597975Z","packages":[{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=22.0.0-next.0 <22.0.0-rc.2"],"fixed":["22.0.0-rc.2"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=21.0.0-next.0 <21.2.15"],"fixed":["21.2.15"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=20.0.0-next.0 <20.3.22"],"fixed":["20.3.22"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":[">=19.0.0-next.0 <19.2.23"],"fixed":["19.2.23"]},{"ecosystem":"npm","name":"@angular/service-worker","purl":"pkg:npm/%40angular/service-worker","ranges":["<=18.2.14"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}